diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2012-06-15 05:23:32 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-07-09 12:39:37 -0400 |
commit | 02df19b4227e5b799e4642e88b568f9474fa78d0 (patch) | |
tree | b83b03c19a4a0908aec006be85feb0cf2df8baa8 /arch/um/kernel/sysrq.c | |
parent | ffae894035a1e0c46869eb81d53ea88ca4eaf2f0 (diff) |
ARM: 7424/1: update die handler from x86
Robustify ARM's die() handling with improvements from x86:
- Fix for a deadlock (before panic in the case of panic_on_oops) if we
oops under a spinlock which is also used from interrupt handler,
since the old code was unconditionally enabling interrupts.
- Usage of arch spinlock so lockdep etc doesn't get involved while
we're trying to dump out oopses.
- Deadlock prevention in the unlikely event that die() recurses.
The changes all touch the same few lines of code, so they're done
together in one patch.
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/um/kernel/sysrq.c')
0 files changed, 0 insertions, 0 deletions