[<prev] [next>] [day] [month] [year] [list]
Message-ID: <7c86c4470803071305l243f1eb4q2d2a75ee0f58ff@mail.gmail.com>
Date: Fri, 7 Mar 2008 13:05:27 -0800
From: "stephane eranian" <eranian@...glemail.com>
To: linux-kernel@...r.kernel.org
Cc: "Andrew Morton" <akpm@...ux-foundation.org>, ak@...e.de,
"Ingo Molnar" <mingo@...e.hu>, tglx@...utronix.de
Subject: [PATCH 1/3] perfmon x86 infra(take 2): 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@...il.com>
--- a/include/asm-x86/cpufeature.h
+++ b/include/asm-x86/cpufeature.h
@@ -181,6 +181,7 @@ extern const char * const x86_power_flags[32];
#define cpu_has_clflush boot_cpu_has(X86_FEATURE_CLFLSH)
#define cpu_has_bts boot_cpu_has(X86_FEATURE_BTS)
#define cpu_has_gbpages boot_cpu_has(X86_FEATURE_GBPAGES)
+#define cpu_has_arch_perfmon boot_cpu_has(X86_FEATURE_ARCH_PERFMON)
#if defined(CONFIG_X86_INVLPG) || defined(CONFIG_X86_64)
# define cpu_has_invlpg 1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists