]> git.baikalelectronics.ru Git - kernel.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)
commit6edc20f9f61ee52fc46351314cd42247de22cb84
tree0f79bf41c9f7e9e72d7f2827c1810d3815d6f2af
parent42530c914d98f8091c0a44e9fc2fa00be8103265
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