[POWERPC] Allocate the hash table under 1G on cell
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 29 Jan 2008 14:13:59 +0000 (01:13 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 31 Jan 2008 01:11:09 +0000 (12:11 +1100)
commit41d824bf61b507c001868861cddda25eaab23cd7
tree63927b478d6298698ece2842dca37d174ac2fe61
parent1f62a1626e53e7b851e3e059cbd2fdc99cb85c05
[POWERPC] Allocate the hash table under 1G on cell

In order to support the fixed IOMMU mapping (in a subsequent patch),
we need the hash table to be inside the IOMMUs DMA window.  This is
usually 2G, but let's make sure the hash table is under 1G as that
will satisfy the IOMMU requirements and also means the hash table will
be on node 0.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/hash_utils_64.c