On Dec 8, 2008, at 9:34 PM, Trent Piepho wrote:

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 <tpie...@freescale.com>
---
arch/powerpc/kernel/head_fsl_booke.S |    4 ----
arch/powerpc/mm/fsl_booke_mmu.c      |    1 -
arch/powerpc/mm/mmu_decl.h           |    2 --
3 files changed, 0 insertions(+), 7 deletions(-)

applied to next

- k
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to