* [PATCH] x86: Add X86_FEATURE_IBS cpu feature
@ 2008-06-24 10:31 Robert Richter
2008-06-24 11:59 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Robert Richter @ 2008-06-24 10:31 UTC (permalink / raw)
To: Thomas Gleixner, Ingo Molnar, LKML
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>
---
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 0d609c8..e2469a7 100644
--- a/include/asm-x86/cpufeature.h
+++ b/include/asm-x86/cpufeature.h
@@ -106,6 +106,7 @@
/* More extended AMD flags: CPUID level 0x80000001, ecx, word 6 */
#define X86_FEATURE_LAHF_LM (6*32+ 0) /* LAHF/SAHF in long mode */
#define X86_FEATURE_CMP_LEGACY (6*32+ 1) /* If yes HyperThreading not valid */
+#define X86_FEATURE_IBS (6*32+ 10) /* Instruction Based Sampling */
/*
* Auxiliary flags: Linux defined - For features scattered in various
--
1.5.5.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-24 12:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-24 10:31 [PATCH] x86: Add X86_FEATURE_IBS cpu feature Robert Richter
2008-06-24 11:59 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox