|
@@ -1203,6 +1203,8 @@ void __cpuinit cpu_init(void)
|
|
load_TR_desc();
|
|
load_TR_desc();
|
|
load_LDT(&init_mm.context);
|
|
load_LDT(&init_mm.context);
|
|
|
|
|
|
|
|
+ t->x86_tss.io_bitmap_base = offsetof(struct tss_struct, io_bitmap);
|
|
|
|
+
|
|
#ifdef CONFIG_DOUBLEFAULT
|
|
#ifdef CONFIG_DOUBLEFAULT
|
|
/* Set up doublefault TSS pointer in the GDT */
|
|
/* Set up doublefault TSS pointer in the GDT */
|
|
__set_tss_desc(cpu, GDT_ENTRY_DOUBLEFAULT_TSS, &doublefault_tss);
|
|
__set_tss_desc(cpu, GDT_ENTRY_DOUBLEFAULT_TSS, &doublefault_tss);
|