summaryrefslogtreecommitdiff
path: root/arch/sh/include/mach-x3proto
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-04-03 11:21:42 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-04-14 22:26:52 +0100
commitcd8b24d9e852b53e68c69a086358c81423dfb8d1 (patch)
tree9393ff2f7d6bd650f802ff5408b5facdc3b5bc86 /arch/sh/include/mach-x3proto
parent47b8484ea6569511a3cd915bea29886b4cd08333 (diff)
ARM: cache-v7: consolidate initialisation of cache level index
Both v7_flush_cache_louis and v7_flush_dcache_all both begin the flush_levels loop with r10 initialised to zero. In each case, this is done immediately prior to entering the loop. Branch to this instruction in v7_flush_dcache_all from v7_flush_cache_louis and eliminate the unnecessary initialisation in v7_flush_cache_louis. Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/sh/include/mach-x3proto')
0 files changed, 0 insertions, 0 deletions