[PATCH] powerpc: minor dart driver cleanup
Olof Johansson
olof at lixom.net
Thu Jan 12 17:20:50 EST 2006
Paul,
Please apply.
---
Rpn is assigned every time in the loop, no need to increase it too.
Signed-off-by: Olof Johansson <olof at lixom.net>
Index: 2.6/arch/powerpc/sysdev/dart_iommu.c
===================================================================
--- 2.6.orig/arch/powerpc/sysdev/dart_iommu.c 2006-01-11 23:59:53.000000000 -0600
+++ 2.6/arch/powerpc/sysdev/dart_iommu.c 2006-01-12 00:19:06.000000000 -0600
@@ -139,7 +139,6 @@ static void dart_build(struct iommu_tabl
*(dp++) = DARTMAP_VALID | (rpn & DARTMAP_RPNMASK);
- rpn++;
uaddr += DART_PAGE_SIZE;
}
More information about the Linuxppc64-dev
mailing list