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
Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git]
/
arch
/
x86
/
events
/
intel
/
uncore.c
diff --git
a/arch/x86/events/intel/uncore.c
b/arch/x86/events/intel/uncore.c
index 17734a6ef474c8e9090181ec4ffbcee4f11e538f..16c1789164122b70f6d2cd4ad16ae18b741236aa 100644
(file)
--- a/
arch/x86/events/intel/uncore.c
+++ b/
arch/x86/events/intel/uncore.c
@@
-1400,7
+1400,7
@@
static int __init intel_uncore_init(void)
if (!id)
return -ENODEV;
- if (
cpu_has_hypervisor
)
+ if (
boot_cpu_has(X86_FEATURE_HYPERVISOR)
)
return -ENODEV;
max_packages = topology_max_packages();