diff options
author | Kai Huang <kai.huang@linux.intel.com> | 2016-05-31 13:21:14 +0800 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2016-06-03 15:28:19 +0200 |
commit | dca4d728773a2f48e999c8617524bbf8dee4807f (patch) | |
tree | aabd975c807ac12de0fd21020fcb8df04ae7eb5a /arch/x86 | |
parent | 250715a6171a076748be8ab88b274e72f0cfb435 (diff) | |
download | op-kernel-dev-dca4d728773a2f48e999c8617524bbf8dee4807f.zip op-kernel-dev-dca4d728773a2f48e999c8617524bbf8dee4807f.tar.gz |
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')
-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 3069281..4f2010c 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; |