diff options
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/iommu.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c index b278458d5816..84cdd8ac81f1 100644 --- a/drivers/iommu/iommu.c +++ b/drivers/iommu/iommu.c | |||
@@ -49,16 +49,6 @@ int bus_set_iommu(struct bus_type *bus, struct iommu_ops *ops) | |||
49 | if (bus->iommu_ops != NULL) | 49 | if (bus->iommu_ops != NULL) |
50 | return -EBUSY; | 50 | return -EBUSY; |
51 | 51 | ||
52 | /* | ||
53 | * Set the default pgsize values, which retain the existing | ||
54 | * IOMMU API behavior: drivers will be called to map | ||
55 | * regions that are sized/aligned to order of 4KiB pages. | ||
56 | * | ||
57 | * This will be removed once all drivers are migrated. | ||
58 | */ | ||
59 | if (!ops->pgsize_bitmap) | ||
60 | ops->pgsize_bitmap = ~0xFFFUL; | ||
61 | |||
62 | bus->iommu_ops = ops; | 52 | bus->iommu_ops = ops; |
63 | 53 | ||
64 | /* Do IOMMU specific setup for this bus-type */ | 54 | /* Do IOMMU specific setup for this bus-type */ |