[PATCH 3/7] ARM: cache-v7: consolidate initialisation of cache level index

Catalin Marinas catalin.marinas at arm.com
Thu Apr 9 10:11:49 PDT 2015


On Fri, Apr 03, 2015 at 11:54:27AM +0100, Russell King wrote:
> 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 at arm.linux.org.uk>

Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list