projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40cc76e
)
powerpc/xmon: Fix build when 4xx=y and 44x=n
author
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 12 Nov 2014 05:54:54 +0000
(16:54 +1100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 12 Nov 2014 05:54:54 +0000
(16:54 +1100)
dump_tlb_44x() is only defined when 44x=y, but the ifdef in xmon.c
checks for 4xx, leading to a build failure:
arch/powerpc/xmon/xmon.c:912:4: error: implicit declaration of function 'dump_tlb_44x'
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/xmon/xmon.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/xmon/xmon.c
b/arch/powerpc/xmon/xmon.c
index 506d25681fe3cbd7a35accd2c6ce961c9e6f838d..ef18021d52e1e58cf52d0bd425a97709bd8d077f 100644
(file)
--- a/
arch/powerpc/xmon/xmon.c
+++ b/
arch/powerpc/xmon/xmon.c
@@
-907,7
+907,7
@@
cmds(struct pt_regs *excp)
case 'u':
dump_segments();
break;
-#elif defined(CONFIG_4
x
x)
+#elif defined(CONFIG_4
4
x)
case 'u':
dump_tlb_44x();
break;