summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/cache.c
diff options
context:
space:
mode:
authorValentin Sitdikov <valentin.sitdikov@siemens.com>2009-10-16 14:15:38 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-10-16 14:15:38 +0900
commita7a7c0e1d12bcfb4a96cae439951232b08c91841 (patch)
tree89125caf9b044075bc1117d56e15978769208ca5 /arch/sh/mm/cache.c
parent012abeea669ea49636cf952d13298bb68654146a (diff)
downloadlinux-a7a7c0e1d12bcfb4a96cae439951232b08c91841.tar.bz2
sh: Fix up single page flushing to use PAGE_SIZE.
Presently The SH-4 cache flushing code uses flush_cache_4096() for most of the real flushing work, which breaks down to a fixed 4096 unroll and increment. Not only is this sub-optimal for larger page sizes, it's also uncovered a bug in sh4_flush_dcache_page() when large page sizes are used and we have no cache aliases -- resulting in only a part of the page's D-cache lines being written back. Signed-off-by: Valentin Sitdikov <valentin.sitdikov@siemens.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/cache.c')
0 files changed, 0 insertions, 0 deletions