diff options
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index a86769efe0df..591012fb949f 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c | |||
@@ -1205,6 +1205,8 @@ void __cpuinit cpu_init(void) | |||
1205 | load_TR_desc(); | 1205 | load_TR_desc(); |
1206 | load_LDT(&init_mm.context); | 1206 | load_LDT(&init_mm.context); |
1207 | 1207 | ||
1208 | t->x86_tss.io_bitmap_base = offsetof(struct tss_struct, io_bitmap); | ||
1209 | |||
1208 | #ifdef CONFIG_DOUBLEFAULT | 1210 | #ifdef CONFIG_DOUBLEFAULT |
1209 | /* Set up doublefault TSS pointer in the GDT */ | 1211 | /* Set up doublefault TSS pointer in the GDT */ |
1210 | __set_tss_desc(cpu, GDT_ENTRY_DOUBLEFAULT_TSS, &doublefault_tss); | 1212 | __set_tss_desc(cpu, GDT_ENTRY_DOUBLEFAULT_TSS, &doublefault_tss); |