diff options
author | 2014-03-10 20:04:11 -0700 | |
---|---|---|
committer | 2014-03-24 14:08:08 +0000 | |
commit | 66077edc972c1c8dc2cf08e96a956c2db9bd705c (patch) | |
tree | bd098b79548d0d4c0784e7d02844653fc59ab61f | |
parent | iommu/vt-d: Remove to_pci_dev() in intel_map_page() (diff) | |
download | wireguard-linux-66077edc972c1c8dc2cf08e96a956c2db9bd705c.tar.xz wireguard-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 '')
-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; |