diff options
author | Robert Richter <robert.richter@amd.com> | 2008-06-24 06:31:05 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-24 07:59:40 -0400 |
commit | b664d6bbeeddc77b93f5fea16006b428054f1cd1 (patch) | |
tree | 714a95e7988fc45fd3279f2294b0d4bc34928531 | |
parent | 93e1ade5382206d597e9d6de2d1383e69f54d064 (diff) |
x86: add X86_FEATURE_IBS cpu feature
This adds IBS to the cpu feature flags allowing Perfmon and OProfile
to use cpu_has().
Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | include/asm-x86/cpufeature.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/cpufeature.h b/include/asm-x86/cpufeature.h index 0d609c837a41..e2469a781950 100644 --- a/include/asm-x86/cpufeature.h +++ b/include/asm-x86/cpufeature.h | |||
@@ -106,6 +106,7 @@ | |||
106 | /* More extended AMD flags: CPUID level 0x80000001, ecx, word 6 */ | 106 | /* More extended AMD flags: CPUID level 0x80000001, ecx, word 6 */ |
107 | #define X86_FEATURE_LAHF_LM (6*32+ 0) /* LAHF/SAHF in long mode */ | 107 | #define X86_FEATURE_LAHF_LM (6*32+ 0) /* LAHF/SAHF in long mode */ |
108 | #define X86_FEATURE_CMP_LEGACY (6*32+ 1) /* If yes HyperThreading not valid */ | 108 | #define X86_FEATURE_CMP_LEGACY (6*32+ 1) /* If yes HyperThreading not valid */ |
109 | #define X86_FEATURE_IBS (6*32+ 10) /* Instruction Based Sampling */ | ||
109 | 110 | ||
110 | /* | 111 | /* |
111 | * Auxiliary flags: Linux defined - For features scattered in various | 112 | * Auxiliary flags: Linux defined - For features scattered in various |