]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1bfa6731baacaa0e44d778e2c381a0ec39653af
tree56cbc749b47c287c6bbb2a1f92ece7b81977f8f6
parent4933c19f0b4df5b3a2bbfa422c783ace4e2d266c
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