Thread (13 messages) flat view 13 messages, 4 authors, 2009-01-13

Re: [PATCH 2/5] powerpc: booke: Remove num_tlbcam_entries

From: Kumar Gala <hidden>
Date: 2009-01-07 16:07:15

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 <redacted>
---
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help