x86, mce: add machine check exception count in /proc/interrupts
commit01ca79f1411eae2a45352709c838b946b1af9fbd
authorAndi Kleen <andi@firstfloor.org>
Wed, 27 May 2009 19:56:52 +0000 (27 21:56 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 3 Jun 2009 21:40:38 +0000 (3 14:40 -0700)
tree6ee0f5306363f112c6c417c0db85b6d81753f5f8
parent48b1fddbb100a64f3983ca9768b8ea629a09aa20
x86, mce: add machine check exception count in /proc/interrupts

Useful for debugging, but it's also good general policy
to have a counter for all special interrupts there. This makes it easier
to diagnose where a CPU is spending its time.

[ Impact: feature, debugging tool ]

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mcheck/mce.c
arch/x86/kernel/irq.c