From: Michael Ellerman Date: Tue, 8 Aug 2017 06:39:23 +0000 (+1000) Subject: powerpc/traps: machine_check_generic() is only used on 32-bit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7f3f819e94415b7c6d9bcd2d818595504069eae4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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;