aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/x86.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 84a28ea45fa4..73c6a4268bf4 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -44,6 +44,7 @@
44#include <linux/perf_event.h> 44#include <linux/perf_event.h>
45#include <linux/uaccess.h> 45#include <linux/uaccess.h>
46#include <linux/hash.h> 46#include <linux/hash.h>
47#include <linux/pci.h>
47#include <trace/events/kvm.h> 48#include <trace/events/kvm.h>
48 49
49#define CREATE_TRACE_POINTS 50#define CREATE_TRACE_POINTS
@@ -2095,7 +2096,7 @@ int kvm_dev_ioctl_check_extension(long ext)
2095 r = 0; 2096 r = 0;
2096 break; 2097 break;
2097 case KVM_CAP_IOMMU: 2098 case KVM_CAP_IOMMU:
2098 r = iommu_found(); 2099 r = iommu_present(&pci_bus_type);
2099 break; 2100 break;
2100 case KVM_CAP_MCE: 2101 case KVM_CAP_MCE:
2101 r = KVM_MAX_MCE_BANKS; 2102 r = KVM_MAX_MCE_BANKS;