diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-08 16:39:23 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-10 23:31:31 +1000 |
commit | 7f3f819e94415b7c6d9bcd2d818595504069eae4 (patch) | |
tree | bf3f06406028f4e4ccb0fdf8a7e668faa7b1ffc2 /arch/powerpc/kernel/traps.c | |
parent | 42bff234be3bb05b74001a108004ced8407a6068 (diff) |
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 <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
-rw-r--r-- | arch/powerpc/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |