summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel-iommu.c
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2014-03-11 04:04:11 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2014-03-24 15:08:08 +0100
commit66077edc972c1c8dc2cf08e96a956c2db9bd705c (patch)
treebd098b79548d0d4c0784e7d02844653fc59ab61f /drivers/iommu/intel-iommu.c
parentiommu/vt-d: Remove to_pci_dev() in intel_map_page() (diff)
downloadlinux-66077edc972c1c8dc2cf08e96a956c2db9bd705c.tar.xz
linux-66077edc972c1c8dc2cf08e96a956c2db9bd705c.zip
iommu/vt-d: Finally enable translation for non-PCI devices
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/iommu/intel-iommu.c')
-rw-r--r--drivers/iommu/intel-iommu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c
index 0a8e166a57b0..a180f10a7b26 100644
--- a/drivers/iommu/intel-iommu.c
+++ b/drivers/iommu/intel-iommu.c
@@ -2907,9 +2907,6 @@ static int iommu_no_mapping(struct device *dev)
{
int found;
- if (unlikely(!dev_is_pci(dev)))
- return 1;
-
if (iommu_dummy(dev))
return 1;