aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mce.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/mce.h')
-rw-r--r--arch/x86/include/asm/mce.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h
index ac6e0303bf21..1156dae295ac 100644
--- a/arch/x86/include/asm/mce.h
+++ b/arch/x86/include/asm/mce.h
@@ -89,6 +89,7 @@ struct mce_log {
89extern int mce_disabled; 89extern int mce_disabled;
90 90
91#include <asm/atomic.h> 91#include <asm/atomic.h>
92#include <linux/percpu.h>
92 93
93void mce_setup(struct mce *m); 94void mce_setup(struct mce *m);
94void mce_log(struct mce *m); 95void mce_log(struct mce *m);
@@ -123,6 +124,8 @@ static inline void mce_amd_feature_init(struct cpuinfo_x86 *c) { }
123 124
124int mce_available(struct cpuinfo_x86 *c); 125int mce_available(struct cpuinfo_x86 *c);
125 126
127DECLARE_PER_CPU(unsigned, mce_exception_count);
128
126void mce_log_therm_throt_event(__u64 status); 129void mce_log_therm_throt_event(__u64 status);
127 130
128extern atomic_t mce_entry; 131extern atomic_t mce_entry;