summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2014-03-11 07:04:11 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2014-03-24 18:08:08 +0400
commit66077edc972c1c8dc2cf08e96a956c2db9bd705c (patch)
treebd098b79548d0d4c0784e7d02844653fc59ab61f /drivers
parent46333e375f3228196e8cb741d817165f9793b46c (diff)
downloadlinux-66077edc972c1c8dc2cf08e96a956c2db9bd705c.tar.xz
iommu/vt-d: Finally enable translation for non-PCI devices
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers')
-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;