aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/vmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/vmi.c')
-rw-r--r--arch/i386/kernel/vmi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/i386/kernel/vmi.c b/arch/i386/kernel/vmi.c
index 626c82063d19..8f3bac473450 100644
--- a/arch/i386/kernel/vmi.c
+++ b/arch/i386/kernel/vmi.c
@@ -230,14 +230,14 @@ static void vmi_set_tr(void)
230static void vmi_load_esp0(struct tss_struct *tss, 230static void vmi_load_esp0(struct tss_struct *tss,
231 struct thread_struct *thread) 231 struct thread_struct *thread)
232{ 232{
233 tss->esp0 = thread->esp0; 233 tss->x86_tss.esp0 = thread->esp0;
234 234
235 /* This can only happen when SEP is enabled, no need to test "SEP"arately */ 235 /* This can only happen when SEP is enabled, no need to test "SEP"arately */
236 if (unlikely(tss->ss1 != thread->sysenter_cs)) { 236 if (unlikely(tss->x86_tss.ss1 != thread->sysenter_cs)) {
237 tss->ss1 = thread->sysenter_cs; 237 tss->x86_tss.ss1 = thread->sysenter_cs;
238 wrmsr(MSR_IA32_SYSENTER_CS, thread->sysenter_cs, 0); 238 wrmsr(MSR_IA32_SYSENTER_CS, thread->sysenter_cs, 0);
239 } 239 }
240 vmi_ops.set_kernel_stack(__KERNEL_DS, tss->esp0); 240 vmi_ops.set_kernel_stack(__KERNEL_DS, tss->x86_tss.esp0);
241} 241}
242 242
243static void vmi_flush_tlb_user(void) 243static void vmi_flush_tlb_user(void)