diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-01-06 03:11:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:34 -0500 |
commit | e43d674f44dc885a2476cab3537e639d9eaa31a9 (patch) | |
tree | 23bf53cc0752000ddee91b8f957181bfc5b70a4c /include | |
parent | 7c4cb60e5b97677424e95baee9c29df54b26e6ba (diff) |
[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 'include')
0 files changed, 0 insertions, 0 deletions