projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/cpufeature: Remove cpu_has_arch_perfmon
[linux-2.6-block.git]
/
arch
/
x86
/
oprofile
/
op_model_ppro.c
diff --git
a/arch/x86/oprofile/op_model_ppro.c
b/arch/x86/oprofile/op_model_ppro.c
index d90528ea541206b57f3048e191d4340ee070b40b..350f7096baac82893bc076fd6db4d04a685d7104 100644
(file)
--- a/
arch/x86/oprofile/op_model_ppro.c
+++ b/
arch/x86/oprofile/op_model_ppro.c
@@
-75,7
+75,7
@@
static void ppro_setup_ctrs(struct op_x86_model_spec const *model,
u64 val;
int i;
- if (
cpu_has_arch_perfmon
) {
+ if (
boot_cpu_has(X86_FEATURE_ARCH_PERFMON)
) {
union cpuid10_eax eax;
eax.full = cpuid_eax(0xa);