[PATCH] x86: Cleanup NMI interrupt path
authorDon Zickus <dzickus@redhat.com>
Tue, 26 Sep 2006 08:52:26 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:26 +0000 (10:52 +0200)
commit3adbbcce9a49b900d4cc118cdccfdefa78bf1afb
tree3163758ed23d973a54b396593957c63470f39a0d
parentb7471c6da94d30d3deadc55986cc38d1ff57f9ca
[PATCH] x86: Cleanup NMI interrupt path

This patch cleans up the NMI interrupt path.  Instead of being gated by if
the 'nmi callback' is set, the interrupt handler now calls everyone who is
registered on the die_chain and additionally checks the nmi watchdog,
reseting it if enabled.  This allows more subsystems to hook into the NMI if
they need to (without being block by set_nmi_callback).

Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/nmi.c
arch/i386/kernel/traps.c
arch/x86_64/kernel/nmi.c
arch/x86_64/kernel/traps.c
include/asm-i386/nmi.h
include/asm-x86_64/nmi.h