diff options
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
-rw-r--r-- | arch/powerpc/kernel/traps.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 907a472f9a9e..97a1ce72e130 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c | |||
@@ -285,6 +285,18 @@ void system_reset_exception(struct pt_regs *regs) | |||
285 | 285 | ||
286 | /* What should we do here? We could issue a shutdown or hard reset. */ | 286 | /* What should we do here? We could issue a shutdown or hard reset. */ |
287 | } | 287 | } |
288 | |||
289 | /* | ||
290 | * This function is called in real mode. Strictly no printk's please. | ||
291 | * | ||
292 | * regs->nip and regs->msr contains srr0 and ssr1. | ||
293 | */ | ||
294 | long machine_check_early(struct pt_regs *regs) | ||
295 | { | ||
296 | /* TODO: handle/decode machine check reason */ | ||
297 | return 0; | ||
298 | } | ||
299 | |||
288 | #endif | 300 | #endif |
289 | 301 | ||
290 | /* | 302 | /* |