commit | e43d674f44dc885a2476cab3537e639d9eaa31a9 | [log] [tgz] |
---|---|---|
author | Jan Beulich <jbeulich@novell.com> | Fri Jan 06 00:11:48 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Jan 06 08:33:34 2006 -0800 |
tree | 23bf53cc0752000ddee91b8f957181bfc5b70a4c | |
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>