aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/paravirt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/paravirt.h')
-rw-r--r--include/asm-x86/paravirt.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h
index 2668903b70f5..dad5b4186f51 100644
--- a/include/asm-x86/paravirt.h
+++ b/include/asm-x86/paravirt.h
@@ -143,7 +143,7 @@ struct pv_cpu_ops {
143 143
144 /* These three are jmp to, not actually called. */ 144 /* These three are jmp to, not actually called. */
145 void (*irq_enable_sysexit)(void); 145 void (*irq_enable_sysexit)(void);
146 void (*usersp_sysret)(void); 146 void (*usergs_sysret)(void);
147 void (*iret)(void); 147 void (*iret)(void);
148 148
149 void (*swapgs)(void); 149 void (*swapgs)(void);
@@ -1505,10 +1505,10 @@ static inline unsigned long __raw_local_irq_save(void)
1505 movq %rax, %rcx; \ 1505 movq %rax, %rcx; \
1506 xorq %rax, %rax; 1506 xorq %rax, %rax;
1507 1507
1508#define USERSP_SYSRET \ 1508#define USERGS_SYSRET \
1509 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_usersp_sysret), \ 1509 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_usergs_sysret), \
1510 CLBR_NONE, \ 1510 CLBR_NONE, \
1511 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_usersp_sysret)) 1511 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_usergs_sysret))
1512#endif 1512#endif
1513 1513
1514#endif /* __ASSEMBLY__ */ 1514#endif /* __ASSEMBLY__ */