From 7f3f819e94415b7c6d9bcd2d818595504069eae4 Mon Sep 17 00:00:00 2001 From: Michael Ellerman Date: Tue, 8 Aug 2017 16:39:23 +1000 Subject: [PATCH] powerpc/traps: machine_check_generic() is only used on 32-bit Make it clear that the fallback version of machine_check_generic() is only used on 32-bit configs. Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 1b1ae799e2f2..ef957c28bbc4 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c @@ -618,7 +618,7 @@ int machine_check_8xx(struct pt_regs *regs) return 0; #endif } -#else +#elif defined(CONFIG_PPC32) int machine_check_generic(struct pt_regs *regs) { unsigned long reason = regs->msr; -- 2.20.1