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

From: Jeremy Fitzhardinge
Date: Thu Jan 29 2009 - 16:36:47 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.

Unfortunate that still not sufficient for a Xen boot. I had to separate the gdt reload from the segment register reload. Patches follow.

J
--
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/