summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorBorislav Petkov <bp@alien8.de>2012-10-15 18:03:57 +0200
committerBorislav Petkov <bp@alien8.de>2012-10-26 14:37:56 +0200
commitd203f0b82481abc048e134ee4d0ea3efbee77bb1 (patch)
treecc0015c7589054586ece0719f014840a3ccadb73 /arch/x86/include
parent91872392f08486f692887d2f06a333f512648f22 (diff)
downloadlinux-d203f0b82481abc048e134ee4d0ea3efbee77bb1.tar.gz
linux-d203f0b82481abc048e134ee4d0ea3efbee77bb1.tar.bz2
linux-d203f0b82481abc048e134ee4d0ea3efbee77bb1.zip
x86, MCA: Convert dont_log_ce, banks and tolerant
Move those MCA configuration variables into struct mca_config and adjust the places they're used accordingly. Signed-off-by: Borislav Petkov <bp@alien8.de> Acked-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/mce.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h
index 54d73b1f00a0..e4060de88476 100644
--- a/arch/x86/include/asm/mce.h
+++ b/arch/x86/include/asm/mce.h
@@ -119,6 +119,13 @@ struct mce_log {
#define K8_MCE_THRESHOLD_BASE (MCE_EXTENDED_BANK + 1)
#ifdef __KERNEL__
+
+struct mca_config {
+ bool dont_log_ce;
+ u8 banks;
+ int tolerant;
+};
+
extern void mce_register_decode_chain(struct notifier_block *nb);
extern void mce_unregister_decode_chain(struct notifier_block *nb);