diff options
author | Kai Huang <kai.huang@linux.intel.com> | 2016-05-31 07:21:14 +0200 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2016-06-03 15:28:19 +0200 |
commit | dca4d728773a2f48e999c8617524bbf8dee4807f (patch) | |
tree | aabd975c807ac12de0fd21020fcb8df04ae7eb5a /arch/x86/kvm | |
parent | KVM: x86: protect KVM_CREATE_PIT/KVM_CREATE_PIT2 with kvm->lock (diff) | |
download | linux-dca4d728773a2f48e999c8617524bbf8dee4807f.tar.xz linux-dca4d728773a2f48e999c8617524bbf8dee4807f.zip |
kvm/x86: remove unnecessary header file inclusion
arch/x86/kvm/iommu.c includes <linux/intel-iommu.h> and <linux/dmar.h>, which
both are unnecessary, in fact incorrect to be here as they are intel specific.
Building kvm on x86 passed after removing above inclusion.
Signed-off-by: Kai Huang <kai.huang@linux.intel.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r-- | arch/x86/kvm/iommu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/iommu.c b/arch/x86/kvm/iommu.c index 3069281904d3..4f2010c5feba 100644 --- a/arch/x86/kvm/iommu.c +++ b/arch/x86/kvm/iommu.c @@ -28,9 +28,7 @@ #include <linux/module.h> #include <linux/pci.h> #include <linux/stat.h> -#include <linux/dmar.h> #include <linux/iommu.h> -#include <linux/intel-iommu.h> #include "assigned-dev.h" static bool allow_unsafe_assigned_interrupts; |