diff options
author | Trent Piepho <tpiepho@freescale.com> | 2008-12-09 04:34:56 +0100 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-01-07 22:33:07 +0100 |
commit | 6fd8be4bf72879b3039654388e985cabf8449af5 (patch) | |
tree | 4a2baf9007c179f1422b2c09b08d791203210f9c /drivers/i2c/busses/i2c-sh_mobile.c | |
parent | powerpc/fsl-booke: Don't hard-code size of struct tlbcam (diff) | |
download | linux-6fd8be4bf72879b3039654388e985cabf8449af5.tar.xz linux-6fd8be4bf72879b3039654388e985cabf8449af5.zip |
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 <tpiepho@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-sh_mobile.c')
0 files changed, 0 insertions, 0 deletions