x86: prepare consolidation of cpu/ related code usage
authorThomas Gleixner <tglxlinutronix.de>
Tue, 23 Oct 2007 20:37:23 +0000 (22:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 23 Oct 2007 20:37:23 +0000 (22:37 +0200)
Move mce.c to mce_32.c to allow the later move of the x86_64 mce.c
from arch/x86/kernel/ to ...kernel/cpu/mcheck

No code change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mcheck/Makefile
arch/x86/kernel/cpu/mcheck/mce_32.c [moved from arch/x86/kernel/cpu/mcheck/mce.c with 100% similarity]

index 1ba7e3f..403e720 100644 (file)
@@ -1,5 +1,3 @@
-obj-$(CONFIG_X86_32)           =  mce.o k7.o p4.o p5.o p6.o winchip.o
+obj-y                          =  mce_$(BITS).o therm_throt.o
+obj-$(CONFIG_X86_32)           += k7.o p4.o p5.o p6.o winchip.o
 obj-$(CONFIG_X86_MCE_NONFATAL) += non-fatal.o
-
-# shared between i386 and x86_64
-obj-y                          += therm_throt.o