[POWERPC] Use SLB size from the device tree
authorMichael Neuling <mikey@neuling.org>
Thu, 6 Dec 2007 06:24:48 +0000 (17:24 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 11 Dec 2007 02:45:56 +0000 (13:45 +1100)
commit584f8b71a2e8abdaeb4b6f4fddaf542b61392453
treec14f26334e3a3524046f0790f96564a4a4f22d92
parent44ef339073f67d4abcc62ae52a5fbc069d7a4d29
[POWERPC] Use SLB size from the device tree

Currently we hardwire the number of SLBs to 64, but PAPR says we
should use the ibm,slb-size property to obtain the number of SLB
entries.  This uses this property instead of assuming 64.  If no
property is found, we assume 64 entries as before.

This soft patches the SLB handler, so it shouldn't change performance
at all.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/slb.c
arch/powerpc/mm/slb_low.S
arch/powerpc/platforms/pasemi/setup.c
arch/powerpc/xmon/xmon.c
include/asm-powerpc/mmu-hash64.h
include/asm-powerpc/reg.h