sh: Use more aggressive dcache purging in kmap teardown.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 8 Sep 2009 07:21:00 +0000 (16:21 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 8 Sep 2009 07:21:00 +0000 (16:21 +0900)
commit6e4154d4c2dd3d7e61d19ddd2527322ce34c2f5a
tree5c5eab6df31e0dedefc57eae22251267f234b08c
parent0906a3ad33a254094fb74828e3ddb9af8771a6da
sh: Use more aggressive dcache purging in kmap teardown.

This fixes up a number of outstanding issues observed with old mappings
on the same colour hanging around. This requires some more optimal
handling, but is a safe fallback until all of the corner cases have been
handled.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/cache.c
arch/sh/mm/kmap.c