x86-64 add cpu_has_arch_perfmon macro
PATCH 1/1 x86-64 add cpu_has_arch_perfmon macro
Hello,
The following patch for x86-64 adds a macro to test for X86_FEATURE_ARCH_PERFMON. An equivalent patch was posted for i386
changelog:
- add cpu_has_arch_perfmon macro to test for X86_FEATURE_ARCH_PERFMON
Signed-off-by stephane eranian <[email protected]>
include/asm-x86_64/cpufeature.h +1 -0
@@ -117,5 +117,6 @@#define cpu_has_ds boot_cpu_has(X86_FEATURE_DS)#define cpu_has_pebs boot_cpu_has(X86_FEATURE_PEBS)#define cpu_has_bts boot_cpu_has(X86_FEATURE_BTS) +#define cpu_has_arch_perfmon boot_cpu_has(X86_FEATURE_ARCH_PERFMON)#endif /* __ASM_X8664_CPUFEATURE_H */