diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-01-06 00:11:48 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 08:33:34 -0800 |
commit | e43d674f44dc885a2476cab3537e639d9eaa31a9 (patch) | |
tree | 23bf53cc0752000ddee91b8f957181bfc5b70a4c /arch/xtensa | |
parent | 7c4cb60e5b97677424e95baee9c29df54b26e6ba (diff) | |
download | talos-obmc-linux-e43d674f44dc885a2476cab3537e639d9eaa31a9.tar.gz talos-obmc-linux-e43d674f44dc885a2476cab3537e639d9eaa31a9.zip |
[PATCH] i386: don't blindly enable interrupts in die()
Rather than blindly re-enabling interrupts in die(), save their state
upon entry and then restore that state.
If the kernel is in really bad condition and faults with interrupts disabled,
re-enabling them in die() may cause even more trouble, implying more chances
of data corruption.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions