summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/processor.h
diff options
context:
space:
mode:
authorBrian Gerst2009-01-30 09:47:53 +0100
committerTejun Heo2009-01-31 06:28:50 +0100
commit552be871e67ff577ed36beb2f53d078b42304739 (patch)
treefa8a1160674f319db5c9dfe9360e22fb44ade300 /arch/x86/include/asm/processor.h
parentx86: UV fix uv_flush_send_and_wait() (diff)
downloadkernel-qcow2-linux-552be871e67ff577ed36beb2f53d078b42304739.tar.gz
kernel-qcow2-linux-552be871e67ff577ed36beb2f53d078b42304739.tar.xz
kernel-qcow2-linux-552be871e67ff577ed36beb2f53d078b42304739.zip
x86: pass in cpu number to switch_to_new_gdt()
Impact: cleanup, prepare for xen boot fix. Xen needs to call this function very early to setup the GDT and per-cpu segments. Remove the call to smp_processor_id() and just pass in the cpu number. Signed-off-by: Brian Gerst <brgerst@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/processor.h')
-rw-r--r--arch/x86/include/asm/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index befa20b4a68c..1c25eb69ea86 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -768,7 +768,7 @@ extern int sysenter_setup(void);
extern struct desc_ptr early_gdt_descr;
extern void cpu_set_gdt(int);
-extern void switch_to_new_gdt(void);
+extern void switch_to_new_gdt(int);
extern void cpu_init(void);
static inline unsigned long get_debugctlmsr(void)