diff options
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
-rw-r--r-- | arch/powerpc/kernel/traps.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 6c793463d511..7509aa6474f2 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c | |||
@@ -230,8 +230,10 @@ void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr) | |||
230 | void system_reset_exception(struct pt_regs *regs) | 230 | void system_reset_exception(struct pt_regs *regs) |
231 | { | 231 | { |
232 | /* See if any machine dependent calls */ | 232 | /* See if any machine dependent calls */ |
233 | if (ppc_md.system_reset_exception) | 233 | if (ppc_md.system_reset_exception) { |
234 | ppc_md.system_reset_exception(regs); | 234 | if (ppc_md.system_reset_exception(regs)) |
235 | return; | ||
236 | } | ||
235 | 237 | ||
236 | die("System Reset", regs, SIGABRT); | 238 | die("System Reset", regs, SIGABRT); |
237 | 239 | ||