kvm/x86: remove unnecessary header file inclusion
authorKai Huang <kai.huang@linux.intel.com>
Tue, 31 May 2016 05:21:14 +0000 (13:21 +0800)
committerRadim Krčmář <rkrcmar@redhat.com>
Fri, 3 Jun 2016 13:28:19 +0000 (15:28 +0200)
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>
arch/x86/kvm/iommu.c

index 3069281904d385105e8091affc5752c5895480ff..4f2010c5feba711dd81509c55eb6fa6a703efbf8 100644 (file)
@@ -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;