summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/mce.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-06-23 02:04:20 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-23 07:42:56 -0700
commita03a3e287b119c7bcbcff1d68f81864ce33b1ad2 (patch)
tree9a95f05e533835a57b56645190b60cdd16f134e2 /include/asm-i386/mce.h
parentb88d4f1d390a6a232938d27d551f24cf08a2c7e0 (diff)
downloadkernel-crypto-a03a3e287b119c7bcbcff1d68f81864ce33b1ad2.tar.gz
kernel-crypto-a03a3e287b119c7bcbcff1d68f81864ce33b1ad2.tar.xz
kernel-crypto-a03a3e287b119c7bcbcff1d68f81864ce33b1ad2.zip
[PATCH] Don't trigger full rebuild via CONFIG_X86_MCE
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386/mce.h')
-rw-r--r--include/asm-i386/mce.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-i386/mce.h b/include/asm-i386/mce.h
new file mode 100644
index 00000000000..7cc1a973bf0
--- /dev/null
+++ b/include/asm-i386/mce.h
@@ -0,0 +1,5 @@
+#ifdef CONFIG_X86_MCE
+extern void mcheck_init(struct cpuinfo_x86 *c);
+#else
+#define mcheck_init(c) do {} while(0)
+#endif