aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mce.h
diff options
context:
space:
mode:
authorBorislav Petkov <bp@alien8.de>2012-10-17 06:05:33 -0400
committerBorislav Petkov <bp@alien8.de>2012-10-26 08:37:58 -0400
commit1462594bf2866c1dc80066ed6f49f4331c551901 (patch)
tree361b807d85cde6b70ccc232f9aaf4079793a63b1 /arch/x86/include/asm/mce.h
parent7af19e4afdafa4adb5fffc569d5bb1c5e568ba98 (diff)
x86, MCA: Finish mca_config conversion
mce_ser, mce_bios_cmci_threshold and mce_disabled are the last three bools which need conversion. Move them to the mca_config struct and adjust usage sites accordingly. Signed-off-by: Borislav Petkov <bp@alien8.de> Acked-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/x86/include/asm/mce.h')
-rw-r--r--arch/x86/include/asm/mce.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h
index a711e3f4fbc..d90c2fccc30 100644
--- a/arch/x86/include/asm/mce.h
+++ b/arch/x86/include/asm/mce.h
@@ -124,6 +124,9 @@ struct mca_config {
124 bool dont_log_ce; 124 bool dont_log_ce;
125 bool cmci_disabled; 125 bool cmci_disabled;
126 bool ignore_ce; 126 bool ignore_ce;
127 bool disabled;
128 bool ser;
129 bool bios_cmci_threshold;
127 u8 banks; 130 u8 banks;
128 s8 bootlog; 131 s8 bootlog;
129 int tolerant; 132 int tolerant;
@@ -140,7 +143,6 @@ extern void mce_unregister_decode_chain(struct notifier_block *nb);
140#include <linux/init.h> 143#include <linux/init.h>
141#include <linux/atomic.h> 144#include <linux/atomic.h>
142 145
143extern int mce_disabled;
144extern int mce_p5_enabled; 146extern int mce_p5_enabled;
145 147
146#ifdef CONFIG_X86_MCE 148#ifdef CONFIG_X86_MCE
@@ -173,7 +175,6 @@ DECLARE_PER_CPU(struct device *, mce_device);
173#define MAX_NR_BANKS 32 175#define MAX_NR_BANKS 32
174 176
175#ifdef CONFIG_X86_MCE_INTEL 177#ifdef CONFIG_X86_MCE_INTEL
176extern int mce_bios_cmci_threshold;
177void mce_intel_feature_init(struct cpuinfo_x86 *c); 178void mce_intel_feature_init(struct cpuinfo_x86 *c);
178void cmci_clear(void); 179void cmci_clear(void);
179void cmci_reenable(void); 180void cmci_reenable(void);