x86: pass in cpu number to switch_to_new_gdt()
authorBrian Gerst <brgerst@gmail.com>
Fri, 30 Jan 2009 08:47:53 +0000 (17:47 +0900)
committerTejun Heo <tj@kernel.org>
Sat, 31 Jan 2009 05:28:50 +0000 (14:28 +0900)
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>

No differences found