commit | d53a0d33bc3a50ea0e8dd1680a2e8435770b162a | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Wed Feb 17 21:17:02 2010 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Wed Feb 17 21:17:02 2010 +0900 |
tree | 7f7959c3aab789afe77d16616ba1246edf0b305a | |
parent | 0065b96775f1eff167a2c3343a41582e8fab4c6c [diff] |
sh: PMB locking overhaul. 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>