diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2014-11-12 00:54:54 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-11-12 00:54:54 -0500 |
commit | d8ee6f34fdd28ade6b7b3a9be175bc5c0c3cfb38 (patch) | |
tree | 01fc89a393e4d4e918296a0a5cb721545be73c89 | |
parent | 40cc76e2715a31eb2e4ea92a0983abd1f4ae76df (diff) |
powerpc/xmon: Fix build when 4xx=y and 44x=n
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>
-rw-r--r-- | arch/powerpc/xmon/xmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index 506d25681fe3..ef18021d52e1 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c | |||
@@ -907,7 +907,7 @@ cmds(struct pt_regs *excp) | |||
907 | case 'u': | 907 | case 'u': |
908 | dump_segments(); | 908 | dump_segments(); |
909 | break; | 909 | break; |
910 | #elif defined(CONFIG_4xx) | 910 | #elif defined(CONFIG_44x) |
911 | case 'u': | 911 | case 'u': |
912 | dump_tlb_44x(); | 912 | dump_tlb_44x(); |
913 | break; | 913 | break; |