diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-01-06 09:11:48 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 17:33:34 +0100 |
commit | e43d674f44dc885a2476cab3537e639d9eaa31a9 (patch) | |
tree | 23bf53cc0752000ddee91b8f957181bfc5b70a4c /arch/i386/Kconfig | |
parent | [PATCH] x86: GDT alignment fix (diff) | |
download | linux-e43d674f44dc885a2476cab3537e639d9eaa31a9.tar.xz 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/i386/Kconfig')
0 files changed, 0 insertions, 0 deletions