i386: Do not include other cpus' interrupt 0 in nmi_watchdog
authorKeith Owens <kaos@ocs.com.au>
Sun, 22 Jul 2007 09:12:36 +0000 (11:12 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 18:03:38 +0000 (11:03 -0700)
commit20fe1d30e7e1c2ee36f11856f090613b0ad58b48
treef262e0c88f3cf51903e691d57332411f519ca917
parent398cf2abdb51fc96bc08f2a007b1aa25ba6adfba
i386: Do not include other cpus' interrupt 0 in nmi_watchdog

kstat_irqs(0) includes the count of interrupt 0 from all cpus, not just
the current cpu.  The updated interrupt 0 on other cpus can stop the
nmi_watchdog from tripping, so only include the current cpu's int 0.

Signed-off-by: Keith Owens <kaos@ocs.com.au>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/nmi.c