aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/ia32/ia32entry.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/ia32/ia32entry.S b/arch/x86/ia32/ia32entry.S
index 9740b6a2df35..24e4d4928d65 100644
--- a/arch/x86/ia32/ia32entry.S
+++ b/arch/x86/ia32/ia32entry.S
@@ -98,7 +98,7 @@ ENTRY(ia32_sysenter_target)
98 CFI_SIGNAL_FRAME 98 CFI_SIGNAL_FRAME
99 CFI_DEF_CFA rsp,0 99 CFI_DEF_CFA rsp,0
100 CFI_REGISTER rsp,rbp 100 CFI_REGISTER rsp,rbp
101 SWAPGS 101 SWAPGS_UNSAFE_STACK
102 movq %gs:pda_kernelstack, %rsp 102 movq %gs:pda_kernelstack, %rsp
103 addq $(PDA_STACKOFFSET),%rsp 103 addq $(PDA_STACKOFFSET),%rsp
104 /* 104 /*
@@ -210,7 +210,7 @@ ENTRY(ia32_cstar_target)
210 CFI_DEF_CFA rsp,PDA_STACKOFFSET 210 CFI_DEF_CFA rsp,PDA_STACKOFFSET
211 CFI_REGISTER rip,rcx 211 CFI_REGISTER rip,rcx
212 /*CFI_REGISTER rflags,r11*/ 212 /*CFI_REGISTER rflags,r11*/
213 SWAPGS 213 SWAPGS_UNSAFE_STACK
214 movl %esp,%r8d 214 movl %esp,%r8d
215 CFI_REGISTER rsp,r8 215 CFI_REGISTER rsp,r8
216 movq %gs:pda_kernelstack,%rsp 216 movq %gs:pda_kernelstack,%rsp