|
@@ -1381,7 +1381,7 @@ static int arm_smmu_alloc_init_pmd(struct arm_smmu_device *smmu, pud_t *pud,
|
|
|
|
|
|
do {
|
|
|
next = pmd_addr_end(addr, end);
|
|
|
- ret = arm_smmu_alloc_init_pte(smmu, pmd, addr, end, pfn,
|
|
|
+ ret = arm_smmu_alloc_init_pte(smmu, pmd, addr, next, pfn,
|
|
|
prot, stage);
|
|
|
phys += next - addr;
|
|
|
} while (pmd++, addr = next, addr < end);
|