]> git.karo-electronics.de Git - linux-beck.git/commitdiff
x86, bigsmp: consolidate code
authorIngo Molnar <mingo@elte.hu>
Wed, 28 Jan 2009 18:04:37 +0000 (19:04 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 29 Jan 2009 13:16:47 +0000 (14:16 +0100)
Move all code to arch/x86/kernel/bigsmp_32.c.

With this it ceases to rely on any build-time subarch features.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/Makefile
arch/x86/kernel/bigsmp_32.c [moved from arch/x86/mach-generic/bigsmp.c with 100% similarity]
arch/x86/mach-generic/Makefile

index a382ca6f6a173e82a4e2e8ddafad435ba66fc73f..4239847906a1b3b29dc4f3a3a225db5cebfcb382 100644 (file)
@@ -71,6 +71,7 @@ obj-$(CONFIG_FUNCTION_GRAPH_TRACER)   += ftrace.o
 obj-$(CONFIG_KEXEC)            += machine_kexec_$(BITS).o
 obj-$(CONFIG_KEXEC)            += relocate_kernel_$(BITS).o crash.o
 obj-$(CONFIG_CRASH_DUMP)       += crash_dump_$(BITS).o
+obj-$(CONFIG_X86_BIGSMP)       += bigsmp_32.o
 obj-$(CONFIG_X86_NUMAQ)                += numaq_32.o
 obj-$(CONFIG_X86_ES7000)       += es7000_32.o
 obj-$(CONFIG_X86_SUMMIT)       += summit_32.o
index 4ede08d309e6b635422819d6aff1de4d722222ed..05e4a7ca774259b9fafced025f8de99766a48a99 100644 (file)
@@ -5,4 +5,3 @@
 EXTRA_CFLAGS                   := -Iarch/x86/kernel
 
 obj-y                          := probe.o default.o
-obj-$(CONFIG_X86_BIGSMP)       += bigsmp.o