]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit491d24333f03581a899cb675d4d2e8e0e8da0f61
tree63927b478d6298698ece2842dca37d174ac2fe61
parentb51f8112263b6a1c57cca0e5d0be8a056c43f57a
[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