ppc/85xx: Add a simple function to search the TLB
authorKumar Gala <galak@kernel.crashing.org>
Thu, 3 Sep 2009 13:20:24 +0000 (08:20 -0500)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:16 +0000 (09:04 -0500)
commit176c84efc5760a78deb3f68bd23a987d26b6f099
tree3f7f4ad5722d55c7e8b2f33b90ac0195ea3be192
parente568fd99ab26a469646b9ad670443923174919c1
ppc/85xx: Add a simple function to search the TLB

Allow us to search the TLB array based on an address.  This is useful
if we want to change an entry but dont know where it happens to be
located.

For example, the boot page mapping we use on MP or the flash TLB that
we change the WIMGE settings for after we've relocated.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
cpu/mpc85xx/tlb.c
include/asm-ppc/mmu.h