summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mce.h
diff options
context:
space:
mode:
authorBorislav Petkov2011-12-04 15:12:09 +0100
committerBorislav Petkov2011-12-14 12:50:12 +0100
commit3653ada5d3e173489b3a466305687cb5c44b2ab1 (patch)
treeb0533badd64709336e39715ad6df15e4ca449539 /arch/x86/include/asm/mce.h
parentLinux 3.2-rc5 (diff)
downloadkernel-qcow2-linux-3653ada5d3e173489b3a466305687cb5c44b2ab1.tar.gz
kernel-qcow2-linux-3653ada5d3e173489b3a466305687cb5c44b2ab1.tar.xz
kernel-qcow2-linux-3653ada5d3e173489b3a466305687cb5c44b2ab1.zip
x86, mce: Add wrappers for registering on the decode chain
No functionality change, this is done so that in a follow-on patch all queued-up MCEs can be decoded after registering on the chain. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'arch/x86/include/asm/mce.h')
-rw-r--r--arch/x86/include/asm/mce.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h
index 0e8ae57d3656..b7c47a468fde 100644
--- a/arch/x86/include/asm/mce.h
+++ b/arch/x86/include/asm/mce.h
@@ -120,7 +120,8 @@ struct mce_log {
#ifdef __KERNEL__
-extern struct atomic_notifier_head x86_mce_decoder_chain;
+extern void mce_register_decode_chain(struct notifier_block *nb);
+extern void mce_unregister_decode_chain(struct notifier_block *nb);
#include <linux/percpu.h>
#include <linux/init.h>