diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-05-27 15:56:57 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-06-03 17:40:38 -0400 |
commit | ca84f69697da0f004135e45b63ca560b6bd3554e (patch) | |
tree | 0106ff5c8a2def169e7d2900071b6543d6c4dc6a /arch/x86/include/asm/mce.h | |
parent | 01ca79f1411eae2a45352709c838b946b1af9fbd (diff) |
x86, mce: add MCE poll count to /proc/interrupts
Keep a count of the machine check polls (or CMCI events) in
/proc/interrupts.
Andi needs this for debugging, but it's also useful in general
to see what's going in by the kernel.
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>
Diffstat (limited to 'arch/x86/include/asm/mce.h')
-rw-r--r-- | arch/x86/include/asm/mce.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h index 1156dae295ac..63abf3b19432 100644 --- a/arch/x86/include/asm/mce.h +++ b/arch/x86/include/asm/mce.h | |||
@@ -125,6 +125,7 @@ static inline void mce_amd_feature_init(struct cpuinfo_x86 *c) { } | |||
125 | int mce_available(struct cpuinfo_x86 *c); | 125 | int mce_available(struct cpuinfo_x86 *c); |
126 | 126 | ||
127 | DECLARE_PER_CPU(unsigned, mce_exception_count); | 127 | DECLARE_PER_CPU(unsigned, mce_exception_count); |
128 | DECLARE_PER_CPU(unsigned, mce_poll_count); | ||
128 | 129 | ||
129 | void mce_log_therm_throt_event(__u64 status); | 130 | void mce_log_therm_throt_event(__u64 status); |
130 | 131 | ||