aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r--arch/x86/kernel/cpu/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index c519a079b3d5..9315a1660668 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1243,10 +1243,10 @@ static void generic_identify(struct cpuinfo_x86 *c)
1243 * ESPFIX issue, we can change this. 1243 * ESPFIX issue, we can change this.
1244 */ 1244 */
1245#ifdef CONFIG_X86_32 1245#ifdef CONFIG_X86_32
1246# ifdef CONFIG_PARAVIRT 1246# ifdef CONFIG_PARAVIRT_XXL
1247 do { 1247 do {
1248 extern void native_iret(void); 1248 extern void native_iret(void);
1249 if (pv_cpu_ops.iret == native_iret) 1249 if (pv_ops.cpu.iret == native_iret)
1250 set_cpu_bug(c, X86_BUG_ESPFIX); 1250 set_cpu_bug(c, X86_BUG_ESPFIX);
1251 } while (0); 1251 } while (0);
1252# else 1252# else