/* Current gdt points fs at the "master" per-cpu area: after this, it's on the real one.  */
void switch_to_new_gdt(int cpu)
/* Current gdt points fs at the "master" per-cpu area: after this, it's on the real one.  */
void switch_to_new_gdt(int cpu)
{
	struct desc_ptr gdt_descr;
	gdt_descr.address = (long)get_cpu_gdt_table(cpu);
	gdt_descr.size = GDT_SIZE - 1;
	load_gdt(&gdt_descr);
	load_percpu_segment(cpu);
}