]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] Don't trigger full rebuild via CONFIG_X86_MCE
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 23 Jun 2006 09:04:20 +0000 (02:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:42:56 +0000 (07:42 -0700)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/common.c
arch/i386/power/cpu.c
include/asm-i386/mce.h [new file with mode: 0644]
include/asm-i386/processor.h

index f2a2b0ac9a18464d4c88d8b216aa843a783843e3..44f2c5f2dda16a0b8adcb6d0170fd92951a7307e 100644 (file)
@@ -12,6 +12,7 @@
 #include <asm/io.h>
 #include <asm/mmu_context.h>
 #include <asm/mtrr.h>
+#include <asm/mce.h>
 #ifdef CONFIG_X86_LOCAL_APIC
 #include <asm/mpspec.h>
 #include <asm/apic.h>
index 63d25ca6306f81ff6ff5160a4b0941a056d7fa54..e6517915fe3e19ebc1a74cc7c34ac6be9eb616b9 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/module.h>
 #include <linux/suspend.h>
 #include <asm/mtrr.h>
+#include <asm/mce.h>
 
 static struct saved_context saved_context;
 
diff --git a/include/asm-i386/mce.h b/include/asm-i386/mce.h
new file mode 100644 (file)
index 0000000..7cc1a97
--- /dev/null
@@ -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
index 5116465272ec3620883250b9efb7eeda586dcdc0..0c83cf12eec904499662d2b41379ed4e0288c373 100644 (file)
@@ -728,10 +728,4 @@ extern unsigned long boot_option_idle_override;
 extern void enable_sep_cpu(void);
 extern int sysenter_setup(void);
 
-#ifdef CONFIG_X86_MCE
-extern void mcheck_init(struct cpuinfo_x86 *c);
-#else
-#define mcheck_init(c) do {} while(0)
-#endif
-
 #endif /* __ASM_I386_PROCESSOR_H */