summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorOhad Ben-Cohen <ohad@wizery.com>2011-11-10 11:32:31 +0200
committerJoerg Roedel <joerg.roedel@amd.com>2011-11-10 11:40:38 +0100
commit6c274d1cd5b3aa0834e9f0c3f58038f42278ff8c (patch)
treef31f88dd5150a6e09f1129e0bfe4b0959215ee0c /drivers/iommu
parent6d1c56a9db48977942602a50e88eeb61a3e625eb (diff)
downloadlinux-6c274d1cd5b3aa0834e9f0c3f58038f42278ff8c.tar.gz
linux-6c274d1cd5b3aa0834e9f0c3f58038f42278ff8c.tar.bz2
linux-6c274d1cd5b3aa0834e9f0c3f58038f42278ff8c.zip
iommu/core: remove the temporary pgsize settings
Now that all IOMMU drivers are exporting their supported pgsizes, we can remove the default pgsize settings in register_iommu(). Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/iommu.c10
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)
if (bus->iommu_ops != NULL)
return -EBUSY;
- /*
- * Set the default pgsize values, which retain the existing
- * IOMMU API behavior: drivers will be called to map
- * regions that are sized/aligned to order of 4KiB pages.
- *
- * This will be removed once all drivers are migrated.
- */
- if (!ops->pgsize_bitmap)
- ops->pgsize_bitmap = ~0xFFFUL;
-
bus->iommu_ops = ops;
/* Do IOMMU specific setup for this bus-type */