From: Trent Piepho Date: Tue, 9 Dec 2008 03:34:56 +0000 (-0800) Subject: powerpc/fsl-booke: Remove num_tlbcam_entries X-Git-Tag: v2.6.29-rc2~76^2~17^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fd8be4bf72879b3039654388e985cabf8449af5;p=pandora-kernel.git powerpc/fsl-booke: Remove num_tlbcam_entries This is a global variable defined in fsl_booke_mmu.c with a value that gets initialized in assembly code in head_fsl_booke.S. It's never used. If some code ever does want to know the number of entries in TLB1, then "numcams = mfspr(SPRN_TLB1CFG) & 0xfff", is a whole lot simpler than a global initialized during kernel boot from assembly. Signed-off-by: Trent Piepho Signed-off-by: Kumar Gala --- Reading git-diff-tree failed