[PATCH] i386: pass proper trap numbers to die chain handlers
authorJan Beulich <jbeulich@novell.com>
Sun, 26 Mar 2006 09:37:01 +0000 (01:37 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:56:53 +0000 (08:56 -0800)
commit20c0d2d4402973050e7aad8a481ec6f847ee40d8
treea3fc29f54187aa9d2dad25a018011443ca83d7ff
parent841b8a46bffec232377d2de157f971e812be4fe4
[PATCH] i386: pass proper trap numbers to die chain handlers

Pass the trap number causing the call to notify_die() to the die
notification handler chain in a number of instances.  Also, honor the
return value from the handler chain invocation in die() as, through a
debugger, the fault may have been fixed.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-By: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/traps.c