diff options
Diffstat (limited to 'arch/sparc64/kernel/iommu.c')
-rw-r--r-- | arch/sparc64/kernel/iommu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/iommu.c b/arch/sparc64/kernel/iommu.c index 0e347ff812a3..fbaab3497bfd 100644 --- a/arch/sparc64/kernel/iommu.c +++ b/arch/sparc64/kernel/iommu.c | |||
@@ -134,7 +134,8 @@ unsigned long iommu_range_alloc(struct device *dev, | |||
134 | else | 134 | else |
135 | boundary_size = ALIGN(1UL << 32, 1 << IO_PAGE_SHIFT); | 135 | boundary_size = ALIGN(1UL << 32, 1 << IO_PAGE_SHIFT); |
136 | 136 | ||
137 | n = iommu_area_alloc(arena->map, limit, start, npages, 0, | 137 | n = iommu_area_alloc(arena->map, limit, start, npages, |
138 | iommu->page_table_map_base >> IO_PAGE_SHIFT, | ||
138 | boundary_size >> IO_PAGE_SHIFT, 0); | 139 | boundary_size >> IO_PAGE_SHIFT, 0); |
139 | if (n == -1) { | 140 | if (n == -1) { |
140 | if (likely(pass < 1)) { | 141 | if (likely(pass < 1)) { |