sh: PMB locking overhaul.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 17 Feb 2010 12:17:02 +0000 (21:17 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 17 Feb 2010 12:17:02 +0000 (21:17 +0900)
This implements some locking for the PMB code. A high level rwlock is
added for dealing with rw accesses on the entry map while a per-entry
data structure spinlock is added to deal with the PMB entry changing out
from underneath us.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found