diff options
-rw-r--r-- | arch/x86/include/asm/mce.h | 6 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce_64.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h index 225cdb5d2bfc..39136c497c5e 100644 --- a/arch/x86/include/asm/mce.h +++ b/arch/x86/include/asm/mce.h | |||
@@ -95,6 +95,12 @@ void mce_log(struct mce *m); | |||
95 | DECLARE_PER_CPU(struct sys_device, device_mce); | 95 | DECLARE_PER_CPU(struct sys_device, device_mce); |
96 | extern void (*threshold_cpu_callback)(unsigned long action, unsigned int cpu); | 96 | extern void (*threshold_cpu_callback)(unsigned long action, unsigned int cpu); |
97 | 97 | ||
98 | /* | ||
99 | * To support more than 128 would need to escape the predefined | ||
100 | * Linux defined extended banks first. | ||
101 | */ | ||
102 | #define MAX_NR_BANKS (MCE_EXTENDED_BANK - 1) | ||
103 | |||
98 | #ifdef CONFIG_X86_MCE_INTEL | 104 | #ifdef CONFIG_X86_MCE_INTEL |
99 | void mce_intel_feature_init(struct cpuinfo_x86 *c); | 105 | void mce_intel_feature_init(struct cpuinfo_x86 *c); |
100 | #else | 106 | #else |
diff --git a/arch/x86/kernel/cpu/mcheck/mce_64.c b/arch/x86/kernel/cpu/mcheck/mce_64.c index a4a7c686ce90..39f8bb525a74 100644 --- a/arch/x86/kernel/cpu/mcheck/mce_64.c +++ b/arch/x86/kernel/cpu/mcheck/mce_64.c | |||
@@ -37,12 +37,6 @@ | |||
37 | 37 | ||
38 | #define MISC_MCELOG_MINOR 227 | 38 | #define MISC_MCELOG_MINOR 227 |
39 | 39 | ||
40 | /* | ||
41 | * To support more than 128 would need to escape the predefined | ||
42 | * Linux defined extended banks first. | ||
43 | */ | ||
44 | #define MAX_NR_BANKS (MCE_EXTENDED_BANK - 1) | ||
45 | |||
46 | atomic_t mce_entry; | 40 | atomic_t mce_entry; |
47 | 41 | ||
48 | static int mce_dont_init; | 42 | static int mce_dont_init; |