From: Michael Ellerman Date: Wed, 12 Nov 2014 05:54:54 +0000 (+1100) Subject: powerpc/xmon: Fix build when 4xx=y and 44x=n X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d8ee6f34fdd28ade6b7b3a9be175bc5c0c3cfb38;p=linux-beck.git 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 --- 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) case 'u': dump_segments(); break; -#elif defined(CONFIG_4xx) +#elif defined(CONFIG_44x) case 'u': dump_tlb_44x(); break;