aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/include/asm/mce.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h
index 6b8a974e1270..ad7535372918 100644
--- a/arch/x86/include/asm/mce.h
+++ b/arch/x86/include/asm/mce.h
@@ -130,10 +130,11 @@ void mce_log(struct mce *m);
130DECLARE_PER_CPU(struct sys_device, mce_dev); 130DECLARE_PER_CPU(struct sys_device, mce_dev);
131 131
132/* 132/*
133 * To support more than 128 would need to escape the predefined 133 * Maximum banks number.
134 * Linux defined extended banks first. 134 * This is the limit of the current register layout on
135 * Intel CPUs.
135 */ 136 */
136#define MAX_NR_BANKS (MCE_EXTENDED_BANK - 1) 137#define MAX_NR_BANKS 32
137 138
138#ifdef CONFIG_X86_MCE_INTEL 139#ifdef CONFIG_X86_MCE_INTEL
139extern int mce_cmci_disabled; 140extern int mce_cmci_disabled;