diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-03-03 12:12:45 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:40:55 -0400 |
commit | e32640a2cd530e1259a06e34a72b0cdb73738ce2 (patch) | |
tree | 56cbc749b47c287c6bbb2a1f92ece7b81977f8f6 /arch/x86/kernel/Makefile | |
parent | 3428f3d6caa3bc2adde050a2771a2821eb46f901 (diff) |
x86: create smpcommon.c
This patch creates smpcommon.c with functions that are
equal between architectures. The i386-only init_gdt
is ifdef'd.
Note that smpcommon.o figures twice in the Makefile:
this is because sub-architectures like voyager that does
not use the normal smp_$(BITS) files also have to access them
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/Makefile')
-rw-r--r-- | arch/x86/kernel/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index 4c68bfc6df1d..018d04d880db 100644 --- a/arch/x86/kernel/Makefile +++ b/arch/x86/kernel/Makefile | |||
@@ -47,8 +47,8 @@ obj-$(CONFIG_PCI) += early-quirks.o | |||
47 | apm-y := apm_32.o | 47 | apm-y := apm_32.o |
48 | obj-$(CONFIG_APM) += apm.o | 48 | obj-$(CONFIG_APM) += apm.o |
49 | obj-$(CONFIG_X86_SMP) += smp_$(BITS).o smpboot_$(BITS).o smpboot.o tsc_sync.o | 49 | obj-$(CONFIG_X86_SMP) += smp_$(BITS).o smpboot_$(BITS).o smpboot.o tsc_sync.o |
50 | obj-$(CONFIG_X86_32_SMP) += smpcommon_32.o | 50 | obj-$(CONFIG_X86_32_SMP) += smpcommon.o |
51 | obj-$(CONFIG_X86_64_SMP) += smp_64.o smpboot_64.o tsc_sync.o | 51 | obj-$(CONFIG_X86_64_SMP) += smp_64.o smpboot_64.o tsc_sync.o smpcommon.o |
52 | obj-$(CONFIG_X86_TRAMPOLINE) += trampoline_$(BITS).o | 52 | obj-$(CONFIG_X86_TRAMPOLINE) += trampoline_$(BITS).o |
53 | obj-$(CONFIG_X86_MPPARSE) += mpparse_$(BITS).o | 53 | obj-$(CONFIG_X86_MPPARSE) += mpparse_$(BITS).o |
54 | obj-$(CONFIG_X86_LOCAL_APIC) += apic_$(BITS).o nmi_$(BITS).o | 54 | obj-$(CONFIG_X86_LOCAL_APIC) += apic_$(BITS).o nmi_$(BITS).o |