Commit dca4d728 authored by Kai Huang's avatar Kai Huang Committed by Radim Krčmář

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: default avatarKai Huang <kai.huang@linux.intel.com>
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
parent 250715a6
...@@ -28,9 +28,7 @@ ...@@ -28,9 +28,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/dmar.h>
#include <linux/iommu.h> #include <linux/iommu.h>
#include <linux/intel-iommu.h>
#include "assigned-dev.h" #include "assigned-dev.h"
static bool allow_unsafe_assigned_interrupts; static bool allow_unsafe_assigned_interrupts;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment