summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorKai Huang <kai.huang@linux.intel.com>2016-05-31 07:21:14 +0200
committerRadim Krčmář <rkrcmar@redhat.com>2016-06-03 15:28:19 +0200
commitdca4d728773a2f48e999c8617524bbf8dee4807f (patch)
treeaabd975c807ac12de0fd21020fcb8df04ae7eb5a /arch/x86/kvm
parentKVM: x86: protect KVM_CREATE_PIT/KVM_CREATE_PIT2 with kvm->lock (diff)
downloadlinux-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.c2
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;