sh: NO_CONTEXT ASID optimizations for SH-4 cache flush.
commite7b8b7f16edc9b363573eadf2ab2683473626071
authorPaul Mundt <lethal@linux-sh.org>
Fri, 14 Aug 2009 17:21:16 +0000 (15 02:21 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 14 Aug 2009 17:21:16 +0000 (15 02:21 +0900)
treef5d578d8d594b09d968d579f000a3f9b03da10a9
parent795687265d1b6f666d02ff56f6c1679a8db160a9
sh: NO_CONTEXT ASID optimizations for SH-4 cache flush.

This optimizes for the cases when a CPU does not yet have a valid ASID
context associated with it, as in this case there is no work for any of
flush_cache_mm()/flush_cache_page()/flush_cache_range() to do. Based on
the the MIPS implementation.

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