diff options
-rw-r--r-- | arch/powerpc/platforms/pseries/iommu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c index e2685badb5db..a55b6858ceac 100644 --- a/arch/powerpc/platforms/pseries/iommu.c +++ b/arch/powerpc/platforms/pseries/iommu.c | |||
@@ -382,6 +382,7 @@ static int tce_clearrange_multi_pSeriesLP(unsigned long start_pfn, | |||
382 | rc = plpar_tce_stuff((u64)be32_to_cpu(maprange->liobn), | 382 | rc = plpar_tce_stuff((u64)be32_to_cpu(maprange->liobn), |
383 | dma_offset, | 383 | dma_offset, |
384 | 0, limit); | 384 | 0, limit); |
385 | next += limit * tce_size; | ||
385 | num_tce -= limit; | 386 | num_tce -= limit; |
386 | } while (num_tce > 0 && !rc); | 387 | } while (num_tce > 0 && !rc); |
387 | 388 | ||