Re: [PATCH] x86: pass in cpu number to switch_to_new_gdt()

From: Tejun Heo
Date: Fri Jan 30 2009 - 03:51:24 EST


Brian Gerst wrote:
> 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@xxxxxxxxx>

Committed to #tj-percpu. Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/