common.c (899ba79553cf1699bdcd262950b48501b0285529) | common.c (5c83511bdb9832c86be20fb86b783356e2f58062) |
---|---|
1/* cpu_feature_enabled() cannot be used this early */ 2#define USE_EARLY_PGTABLE_L5 3 4#include <linux/bootmem.h> 5#include <linux/linkage.h> 6#include <linux/bitops.h> 7#include <linux/kernel.h> 8#include <linux/export.h> --- 1229 unchanged lines hidden (view full) --- 1238 * whether to apply espfix using paravirt hooks. If any 1239 * non-paravirt system ever shows up that does *not* have the 1240 * ESPFIX issue, we can change this. 1241 */ 1242#ifdef CONFIG_X86_32 1243# ifdef CONFIG_PARAVIRT 1244 do { 1245 extern void native_iret(void); | 1/* cpu_feature_enabled() cannot be used this early */ 2#define USE_EARLY_PGTABLE_L5 3 4#include <linux/bootmem.h> 5#include <linux/linkage.h> 6#include <linux/bitops.h> 7#include <linux/kernel.h> 8#include <linux/export.h> --- 1229 unchanged lines hidden (view full) --- 1238 * whether to apply espfix using paravirt hooks. If any 1239 * non-paravirt system ever shows up that does *not* have the 1240 * ESPFIX issue, we can change this. 1241 */ 1242#ifdef CONFIG_X86_32 1243# ifdef CONFIG_PARAVIRT 1244 do { 1245 extern void native_iret(void); |
1246 if (pv_cpu_ops.iret == native_iret) | 1246 if (pv_ops.cpu.iret == native_iret) |
1247 set_cpu_bug(c, X86_BUG_ESPFIX); 1248 } while (0); 1249# else 1250 set_cpu_bug(c, X86_BUG_ESPFIX); 1251# endif 1252#endif 1253} 1254 --- 641 unchanged lines hidden --- | 1247 set_cpu_bug(c, X86_BUG_ESPFIX); 1248 } while (0); 1249# else 1250 set_cpu_bug(c, X86_BUG_ESPFIX); 1251# endif 1252#endif 1253} 1254 --- 641 unchanged lines hidden --- |