diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-01-11 22:42:14 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 19:01:10 -0800 |
commit | 6e3f361781573a27296c77a79c9892dec8f2e36c (patch) | |
tree | b08ff3ed470d0e21ce3d462f16d6d3f0a6965a9c /arch/x86_64/kernel/mce.c | |
parent | 5c617cfa6422bfba9e79d8d004303a6cc3d2e7d7 (diff) | |
download | op-kernel-dev-6e3f361781573a27296c77a79c9892dec8f2e36c.zip op-kernel-dev-6e3f361781573a27296c77a79c9892dec8f2e36c.tar.gz |
[PATCH] x86_64: make trap information available to die notification handlers
This adjusts things so that handlers of the die() notifier will have
sufficient information about the trap currently being handled. It also
adjusts the notify_die() prototype to (again) match that of i386.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel/mce.c')
-rw-r--r-- | arch/x86_64/kernel/mce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/mce.c b/arch/x86_64/kernel/mce.c index ee5f65c..63777b8 100644 --- a/arch/x86_64/kernel/mce.c +++ b/arch/x86_64/kernel/mce.c @@ -169,7 +169,7 @@ void do_machine_check(struct pt_regs * regs, long error_code) int panicm_found = 0; if (regs) - notify_die(DIE_NMI, "machine check", regs, error_code, 255, SIGKILL); + notify_die(DIE_NMI, "machine check", regs, error_code, 18, SIGKILL); if (!banks) return; |