Message ID | 1464672074-8864-1-git-send-email-kai.huang@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
2016-05-31 13:21+0800, Kai Huang: > 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> > --- Applied, thanks. > arch/x86/kvm/iommu.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/x86/kvm/iommu.c b/arch/x86/kvm/iommu.c > index a22a488..15d8fff 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; > -- > 2.7.4 > -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/x86/kvm/iommu.c b/arch/x86/kvm/iommu.c index a22a488..15d8fff 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;
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> --- arch/x86/kvm/iommu.c | 2 -- 1 file changed, 2 deletions(-)