diff options
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index 922c5e0cea4c..cb9e5df42dd2 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c | |||
@@ -1410,7 +1410,7 @@ void cpu_init(void) | |||
1410 | load_sp0(t, ¤t->thread); | 1410 | load_sp0(t, ¤t->thread); |
1411 | set_tss_desc(cpu, t); | 1411 | set_tss_desc(cpu, t); |
1412 | load_TR_desc(); | 1412 | load_TR_desc(); |
1413 | load_LDT(&init_mm.context); | 1413 | load_mm_ldt(&init_mm); |
1414 | 1414 | ||
1415 | clear_all_debug_regs(); | 1415 | clear_all_debug_regs(); |
1416 | dbg_restore_debug_regs(); | 1416 | dbg_restore_debug_regs(); |
@@ -1459,7 +1459,7 @@ void cpu_init(void) | |||
1459 | load_sp0(t, thread); | 1459 | load_sp0(t, thread); |
1460 | set_tss_desc(cpu, t); | 1460 | set_tss_desc(cpu, t); |
1461 | load_TR_desc(); | 1461 | load_TR_desc(); |
1462 | load_LDT(&init_mm.context); | 1462 | load_mm_ldt(&init_mm); |
1463 | 1463 | ||
1464 | t->x86_tss.io_bitmap_base = offsetof(struct tss_struct, io_bitmap); | 1464 | t->x86_tss.io_bitmap_base = offsetof(struct tss_struct, io_bitmap); |
1465 | 1465 | ||