|
@@ -162,7 +162,6 @@ unsigned paravirt_patch_default(u8 type, u16 clobbers, void *insnbuf,
|
|
|
ret = paravirt_patch_ident_64(insnbuf, len);
|
|
|
|
|
|
else if (type == PARAVIRT_PATCH(pv_cpu_ops.iret) ||
|
|
|
- type == PARAVIRT_PATCH(pv_cpu_ops.usergs_sysret32) ||
|
|
|
type == PARAVIRT_PATCH(pv_cpu_ops.usergs_sysret64))
|
|
|
/* If operation requires a jmp, then jmp */
|
|
|
ret = paravirt_patch_jmp(insnbuf, opfunc, addr, len);
|
|
@@ -217,7 +216,6 @@ static u64 native_steal_clock(int cpu)
|
|
|
|
|
|
/* These are in entry.S */
|
|
|
extern void native_iret(void);
|
|
|
-extern void native_usergs_sysret32(void);
|
|
|
extern void native_usergs_sysret64(void);
|
|
|
|
|
|
static struct resource reserve_ioports = {
|
|
@@ -376,9 +374,6 @@ __visible struct pv_cpu_ops pv_cpu_ops = {
|
|
|
.load_sp0 = native_load_sp0,
|
|
|
|
|
|
#ifdef CONFIG_X86_64
|
|
|
-#ifdef CONFIG_IA32_EMULATION
|
|
|
- .usergs_sysret32 = native_usergs_sysret32,
|
|
|
-#endif
|
|
|
.usergs_sysret64 = native_usergs_sysret64,
|
|
|
#endif
|
|
|
.iret = native_iret,
|