aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-dove/common.c
diff options
context:
space:
mode:
authorPhil Edworthy <phil.edworthy@renesas.com>2012-01-09 16:08:47 +0000
committerPaul Mundt <lethal@linux-sh.org>2012-01-12 13:11:02 +0900
commitc1537b4863da620f12f5b42ece61bf65314148ed (patch)
treefb1dddd002d8207cb84c1c8fde1f58335449db18 /arch/arm/mach-dove/common.c
parentMerge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost (diff)
downloadlinux-dev-c1537b4863da620f12f5b42ece61bf65314148ed.tar.xz
linux-dev-c1537b4863da620f12f5b42ece61bf65314148ed.zip
sh: sh2a: Improve cache flush/invalidate functions
The cache functions lock out interrupts for long periods; this patch reduces the impact when operating on large address ranges. In such cases it will: - Invalidate the entire cache rather than individual addresses. - Do nothing when flushing the operand cache in write-through mode. - When flushing the operand cache in write-back mdoe, index the search for matching addresses on the cache entires instead of the addresses to flush Note: sh2a__flush_purge_region was only invalidating the operand cache, this adds flush. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-dove/common.c')
0 files changed, 0 insertions, 0 deletions