[PATCH] powerpc/pseries: Fix TCE building with 64k pagesize
authorMichal Ostrowski <mostrows@watson.ibm.com>
Fri, 2 Dec 2005 02:09:13 +0000 (13:09 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 2 Dec 2005 03:51:22 +0000 (14:51 +1100)
commitcc8b5c96a7ac7d695c2887427b1003bd33ec9c97
treea8a745d54dae93438b6479cf807e07a51f8b210e
parentdeda498710e190c7922c2634ed630ee64ce86c05
[PATCH] powerpc/pseries: Fix TCE building with 64k pagesize

Must adjust tcenum and npages by TCE_PAGE_FACTOR to convert between
64KB pages and TCE (4K) pages.  (This is done in other places, except
for this one location.)

Signed-off-by: Michal Ostrowski <mostrows at watson ibm com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/iommu.c