[PATCH] x86_64: Clean up double fault handling
authorJan Beulich <jbeulich@novell.com>
Wed, 11 Jan 2006 21:42:17 +0000 (22:42 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:01:10 +0000 (19:01 -0800)
commiteca37c18beb306dd9dea4579d7214e1b4414b3fb
treef74aecdd6f793dd01901220e4a09e82c021d7028
parent6e3f361781573a27296c77a79c9892dec8f2e36c
[PATCH] x86_64: Clean up double fault handling

Since a double fault always implies that kernel data structures are
corrupt, this fault should neither be handed to user mode handling,
nor should the handler allow resuming the faulting code stream (since
architecturally this isn't a fault, but an abort).

Note that this slightly depends on the previously submitted patch
adjusting the prototype of notify_die() (a compiler warning will result
without that other patch).

AK: Removed obsolete CONFIG_CHECKING code, added comments

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/traps.c