Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are a raw update to a vanilla kernel 4.1.10, with the
[kvmfornfv.git]
/
kernel
/
arch
/
x86
/
kernel
/
cpu
/
common.c
diff --git
a/kernel/arch/x86/kernel/cpu/common.c
b/kernel/arch/x86/kernel/cpu/common.c
index
a62cf04
..
205e0f3
100644
(file)
--- a/
kernel/arch/x86/kernel/cpu/common.c
+++ b/
kernel/arch/x86/kernel/cpu/common.c
@@
-1434,7
+1434,7
@@
void cpu_init(void)
load_sp0(t, ¤t->thread);
set_tss_desc(cpu, t);
load_TR_desc();
load_sp0(t, ¤t->thread);
set_tss_desc(cpu, t);
load_TR_desc();
- load_
LDT(&init_mm.context
);
+ load_
mm_ldt(&init_mm
);
clear_all_debug_regs();
dbg_restore_debug_regs();
clear_all_debug_regs();
dbg_restore_debug_regs();
@@
-1483,7
+1483,7
@@
void cpu_init(void)
load_sp0(t, thread);
set_tss_desc(cpu, t);
load_TR_desc();
load_sp0(t, thread);
set_tss_desc(cpu, t);
load_TR_desc();
- load_
LDT(&init_mm.context
);
+ load_
mm_ldt(&init_mm
);
t->x86_tss.io_bitmap_base = offsetof(struct tss_struct, io_bitmap);
t->x86_tss.io_bitmap_base = offsetof(struct tss_struct, io_bitmap);