]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: cache-v7: consolidate initialisation of cache level index
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 3 Apr 2015 10:21:42 +0000 (11:21 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 3 Apr 2015 10:56:50 +0000 (11:56 +0100)
commit105d83211c9a24583a86951b582cfee650566fe7
tree559710a90738fa493e580439cb0903bc9207c2e5
parente46cf43f4dd1df7a8d4487d298c1198d46b54bc7
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.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-v7.S