Skip to content

Commit

Permalink
kvm/x86: remove unnecessary header file inclusion
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kai Huang authored and Radim Krčmář committed Jun 3, 2016
1 parent 250715a commit dca4d72
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/kvm/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dca4d72

Please sign in to comment.