diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/cpu/perf_event_intel_uncore.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/perf_event_intel_uncore.c b/arch/x86/kernel/cpu/perf_event_intel_uncore.c index 99d96a4978b..5df8d32ba91 100644 --- a/arch/x86/kernel/cpu/perf_event_intel_uncore.c +++ b/arch/x86/kernel/cpu/perf_event_intel_uncore.c | |||
@@ -2926,6 +2926,9 @@ static int __init intel_uncore_init(void) | |||
2926 | if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) | 2926 | if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) |
2927 | return -ENODEV; | 2927 | return -ENODEV; |
2928 | 2928 | ||
2929 | if (cpu_has_hypervisor) | ||
2930 | return -ENODEV; | ||
2931 | |||
2929 | ret = uncore_pci_init(); | 2932 | ret = uncore_pci_init(); |
2930 | if (ret) | 2933 | if (ret) |
2931 | goto fail; | 2934 | goto fail; |