sh: update the TLB replacement counter for entry wiring.
authorMatt Fleming <matt@console-pimps.org>
Fri, 26 Mar 2010 02:37:16 +0000 (11:37 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 26 Mar 2010 02:37:16 +0000 (11:37 +0900)
Presently the TLB wiring code depends on MMUCR.URB for working out where
to place the wired entry, but fails to take the replacment counter in to
consideration. This fixes up the wiring logic and ensures that wired
entries remain so.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found