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>
This commit is contained in:
Michael Ellerman 2014-11-12 16:54:54 +11:00
parent 40cc76e271
commit d8ee6f34fd

View File

@ -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;