diff options
Diffstat (limited to 'arch/x86/vdso/vdso32-setup.c')
-rw-r--r-- | arch/x86/vdso/vdso32-setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/vdso/vdso32-setup.c b/arch/x86/vdso/vdso32-setup.c index d97a6d7d062b..e0feb66a2408 100644 --- a/arch/x86/vdso/vdso32-setup.c +++ b/arch/x86/vdso/vdso32-setup.c | |||
@@ -243,9 +243,9 @@ void enable_sep_cpu(void) | |||
243 | } | 243 | } |
244 | 244 | ||
245 | tss->x86_tss.ss1 = __KERNEL_CS; | 245 | tss->x86_tss.ss1 = __KERNEL_CS; |
246 | tss->x86_tss.esp1 = sizeof(struct tss_struct) + (unsigned long) tss; | 246 | tss->x86_tss.sp1 = sizeof(struct tss_struct) + (unsigned long) tss; |
247 | wrmsr(MSR_IA32_SYSENTER_CS, __KERNEL_CS, 0); | 247 | wrmsr(MSR_IA32_SYSENTER_CS, __KERNEL_CS, 0); |
248 | wrmsr(MSR_IA32_SYSENTER_ESP, tss->x86_tss.esp1, 0); | 248 | wrmsr(MSR_IA32_SYSENTER_ESP, tss->x86_tss.sp1, 0); |
249 | wrmsr(MSR_IA32_SYSENTER_EIP, (unsigned long) ia32_sysenter_target, 0); | 249 | wrmsr(MSR_IA32_SYSENTER_EIP, (unsigned long) ia32_sysenter_target, 0); |
250 | put_cpu(); | 250 | put_cpu(); |
251 | } | 251 | } |