[PATCH] ppc32: Clean up NUM_TLBCAMS usage for Freescale Book-E PPC's
authorKumar Gala <galak@freescale.com>
Wed, 22 Jun 2005 00:15:26 +0000 (17:15 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 01:46:24 +0000 (18:46 -0700)
commit5be061eee931db2718feecaf10df17610386202b
tree1e78b9993aaa8f176dd2a71c2d6ef01e224b34b8
parent65145e060b1c933ebc4215c3b493f586e08a1d5c
[PATCH] ppc32: Clean up NUM_TLBCAMS usage for Freescale Book-E PPC's

Made the number of TLB CAM entries private and converted the board
consumers to use num_tlbcam_entries which is setup at boot time from
configuration registers.  This way the only consumers of the #define
NUM_TLBCAMS are the arrays used to manage the TLB.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/mm/fsl_booke_mmu.c
arch/ppc/mm/mmu_decl.h
arch/ppc/mm/pgtable.c
arch/ppc/platforms/85xx/mpc8540_ads.c
arch/ppc/platforms/85xx/mpc85xx_cds_common.c
arch/ppc/platforms/85xx/sbc8560.c
include/asm-ppc/pgtable.h