|
@@ -119,25 +119,16 @@ extern const char * const x86_bug_flags[NBUGINTS*32];
|
|
} while (0)
|
|
} while (0)
|
|
|
|
|
|
#define cpu_has_fpu boot_cpu_has(X86_FEATURE_FPU)
|
|
#define cpu_has_fpu boot_cpu_has(X86_FEATURE_FPU)
|
|
-#define cpu_has_pse boot_cpu_has(X86_FEATURE_PSE)
|
|
|
|
#define cpu_has_tsc boot_cpu_has(X86_FEATURE_TSC)
|
|
#define cpu_has_tsc boot_cpu_has(X86_FEATURE_TSC)
|
|
-#define cpu_has_pge boot_cpu_has(X86_FEATURE_PGE)
|
|
|
|
#define cpu_has_apic boot_cpu_has(X86_FEATURE_APIC)
|
|
#define cpu_has_apic boot_cpu_has(X86_FEATURE_APIC)
|
|
#define cpu_has_fxsr boot_cpu_has(X86_FEATURE_FXSR)
|
|
#define cpu_has_fxsr boot_cpu_has(X86_FEATURE_FXSR)
|
|
#define cpu_has_xmm boot_cpu_has(X86_FEATURE_XMM)
|
|
#define cpu_has_xmm boot_cpu_has(X86_FEATURE_XMM)
|
|
-#define cpu_has_xmm2 boot_cpu_has(X86_FEATURE_XMM2)
|
|
|
|
#define cpu_has_aes boot_cpu_has(X86_FEATURE_AES)
|
|
#define cpu_has_aes boot_cpu_has(X86_FEATURE_AES)
|
|
#define cpu_has_avx boot_cpu_has(X86_FEATURE_AVX)
|
|
#define cpu_has_avx boot_cpu_has(X86_FEATURE_AVX)
|
|
#define cpu_has_avx2 boot_cpu_has(X86_FEATURE_AVX2)
|
|
#define cpu_has_avx2 boot_cpu_has(X86_FEATURE_AVX2)
|
|
-#define cpu_has_clflush boot_cpu_has(X86_FEATURE_CLFLUSH)
|
|
|
|
-#define cpu_has_gbpages boot_cpu_has(X86_FEATURE_GBPAGES)
|
|
|
|
-#define cpu_has_arch_perfmon boot_cpu_has(X86_FEATURE_ARCH_PERFMON)
|
|
|
|
#define cpu_has_pat boot_cpu_has(X86_FEATURE_PAT)
|
|
#define cpu_has_pat boot_cpu_has(X86_FEATURE_PAT)
|
|
-#define cpu_has_x2apic boot_cpu_has(X86_FEATURE_X2APIC)
|
|
|
|
#define cpu_has_xsave boot_cpu_has(X86_FEATURE_XSAVE)
|
|
#define cpu_has_xsave boot_cpu_has(X86_FEATURE_XSAVE)
|
|
#define cpu_has_xsaves boot_cpu_has(X86_FEATURE_XSAVES)
|
|
#define cpu_has_xsaves boot_cpu_has(X86_FEATURE_XSAVES)
|
|
-#define cpu_has_osxsave boot_cpu_has(X86_FEATURE_OSXSAVE)
|
|
|
|
-#define cpu_has_hypervisor boot_cpu_has(X86_FEATURE_HYPERVISOR)
|
|
|
|
/*
|
|
/*
|
|
* Do not add any more of those clumsy macros - use static_cpu_has() for
|
|
* Do not add any more of those clumsy macros - use static_cpu_has() for
|
|
* fast paths and boot_cpu_has() otherwise!
|
|
* fast paths and boot_cpu_has() otherwise!
|