x86: create smpcommon.c
authorGlauber Costa <gcosta@redhat.com>
Mon, 3 Mar 2008 17:12:45 +0000 (14:12 -0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:55 +0000 (17:40 +0200)
commite32640a2cd530e1259a06e34a72b0cdb73738ce2
tree56cbc749b47c287c6bbb2a1f92ece7b81977f8f6
parent3428f3d6caa3bc2adde050a2771a2821eb46f901
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>
arch/x86/kernel/Makefile
arch/x86/kernel/smp_64.c
arch/x86/kernel/smpcommon.c [new file with mode: 0644]
arch/x86/kernel/smpcommon_32.c