commit | 8cf1a74305688c85fc8d23ab7432a0c447ee6413 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Tue Jul 24 13:28:26 2007 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Tue Jul 24 13:28:26 2007 +0900 |
tree | d43af5f2515db35ef6a705e5929780f91d34e898 | |
parent | f695baf2df9e0413d3521661070103711545207a [diff] |
sh: Add kmap_coherent()/kunmap_coherent() interface for SH-4. This wires up kmap_coherent() and kunmap_coherent() on SH-4, and moves away from the p3map_mutex and reserved P3 space, opting to use fixmaps for colouring instead. The copy_user_page()/clear_user_page() implementations are moved to this, which fixes the nasty blowups with spinlock debugging as a result of having some of these calls nested under the page table lock. Signed-off-by: Paul Mundt <lethal@linux-sh.org>