diff options
author | Anton Blanchard <anton@samba.org> | 2011-11-30 00:23:09 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-12-08 14:02:22 +1100 |
commit | 58154c8ce71a7854d969d73468fd00e5eeeab708 (patch) | |
tree | 42833866181659098501fd9ecce6cd1e333bd434 /kernel/smp.c | |
parent | faa8bf8878636e40646d307e0516dbadb3b65b4f (diff) |
powerpc: Give us time to get all oopses out before panicking
I've been seeing truncated output when people send system reset info
to me. We should see a backtrace for every CPU, but the panic() code
takes the box down before they all make it out to the console. The
panic code runs unlocked so we also see corrupted console output.
If we are going to panic, then delay 1 second before calling into the
panic code. Move oops_exit inside the die lock and put a newline
between oopses for clarity.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions