]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Move default hash table size calculation to hash_utils_64.c
authorPaul Mackerras <paulus@samba.org>
Wed, 12 Oct 2005 06:58:53 +0000 (16:58 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 12 Oct 2005 06:58:53 +0000 (16:58 +1000)
commit3eac8c69d1ac1266327f4e29deb23716a12c6d30
tree0f79bf41c9f7e9e72d7f2827c1810d3815d6f2af
parentb6ec995a21a9428aef620b5adf46d047a18d88b8
powerpc: Move default hash table size calculation to hash_utils_64.c

We weren't computing the size of the hash table correctly on iSeries
because the relevant code in prom.c was #ifdef CONFIG_PPC_PSERIES.
This moves the code to hash_utils_64.c, makes it unconditional, and
cleans it up a bit.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c
arch/powerpc/mm/hash_utils_64.c