sh: Optimise flush_dcache_page() on SH4
authorMatt Fleming <matt@console-pimps.org>
Thu, 24 Dec 2009 22:17:35 +0000 (22:17 +0000)
committerMatt Fleming <matt@console-pimps.org>
Sat, 2 Jan 2010 00:51:52 +0000 (00:51 +0000)
commitb4c892762373c5e59c7e8db35f5f9a7658602bda
tree865bb13abd9af7dd4727f28f4abcd4299c501321
parent3f5ab768164df9a44721660b96e0accb92eb2c24
sh: Optimise flush_dcache_page() on SH4

If the page is not mapped into any process's address space then aliases
cannot exist in the cache. So reduce the amount of flushing we perform.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
arch/sh/mm/cache-sh4.c