diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2014-03-11 04:04:11 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2014-03-24 15:08:08 +0100 |
commit | 66077edc972c1c8dc2cf08e96a956c2db9bd705c (patch) | |
tree | bd098b79548d0d4c0784e7d02844653fc59ab61f /drivers/iommu/intel-iommu.c | |
parent | iommu/vt-d: Remove to_pci_dev() in intel_map_page() (diff) | |
download | linux-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.c | 3 |
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; |