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
/
power
/
cpu.c
diff --git
a/kernel/arch/x86/power/cpu.c
b/kernel/arch/x86/power/cpu.c
index
757678f
..
bf93844
100644
(file)
--- a/
kernel/arch/x86/power/cpu.c
+++ b/
kernel/arch/x86/power/cpu.c
@@
-23,6
+23,7
@@
#include <asm/debugreg.h>
#include <asm/fpu-internal.h> /* pcntxt_mask */
#include <asm/cpu.h>
#include <asm/debugreg.h>
#include <asm/fpu-internal.h> /* pcntxt_mask */
#include <asm/cpu.h>
+#include <asm/mmu_context.h>
#ifdef CONFIG_X86_32
__visible unsigned long saved_context_ebx;
#ifdef CONFIG_X86_32
__visible unsigned long saved_context_ebx;
@@
-154,7
+155,7
@@
static void fix_processor_context(void)
syscall_init(); /* This sets MSR_*STAR and related */
#endif
load_TR_desc(); /* This does ltr */
syscall_init(); /* This sets MSR_*STAR and related */
#endif
load_TR_desc(); /* This does ltr */
- load_
LDT(¤t->active_mm->context);
/* This does lldt */
+ load_
mm_ldt(current->active_mm);
/* This does lldt */
}
/**
}
/**