aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/cpufeature.h
diff options
context:
space:
mode:
authorstephane eranian <eranian@googlemail.com>2008-03-07 16:05:27 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:40:58 -0400
commit86975101e46ec93be972d8f46715aa6273102545 (patch)
treedf479b937d09123be36f0329a263e34ae57e8c88 /include/asm-x86/cpufeature.h
parente40c0fe6b0b5dd16aec3c0dad311d36b19d78fd9 (diff)
x86: add cpu_has_arch_perfmon
adds cpu_has_arch_perfmon to test presence of architectural perfmon on Intel x86 processor Signed-off-by: Stephane Eranian <eranian@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/cpufeature.h')
-rw-r--r--include/asm-x86/cpufeature.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/cpufeature.h b/include/asm-x86/cpufeature.h
index 1e3102eeb823..90feb6f2562c 100644
--- a/include/asm-x86/cpufeature.h
+++ b/include/asm-x86/cpufeature.h
@@ -185,6 +185,7 @@ extern const char * const x86_power_flags[32];
185#define cpu_has_clflush boot_cpu_has(X86_FEATURE_CLFLSH) 185#define cpu_has_clflush boot_cpu_has(X86_FEATURE_CLFLSH)
186#define cpu_has_bts boot_cpu_has(X86_FEATURE_BTS) 186#define cpu_has_bts boot_cpu_has(X86_FEATURE_BTS)
187#define cpu_has_gbpages boot_cpu_has(X86_FEATURE_GBPAGES) 187#define cpu_has_gbpages boot_cpu_has(X86_FEATURE_GBPAGES)
188#define cpu_has_arch_perfmon boot_cpu_has(X86_FEATURE_ARCH_PERFMON)
188 189
189#if defined(CONFIG_X86_INVLPG) || defined(CONFIG_X86_64) 190#if defined(CONFIG_X86_INVLPG) || defined(CONFIG_X86_64)
190# define cpu_has_invlpg 1 191# define cpu_has_invlpg 1