From: Russell King Date: Fri, 3 Apr 2015 10:21:42 +0000 (+0100) Subject: ARM: cache-v7: consolidate initialisation of cache level index X-Git-Tag: omap-for-v4.1/fixes-rc1~142^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd8b24d9e852b53e68c69a086358c81423dfb8d1;p=pandora-kernel.git 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 Signed-off-by: Russell King --- Reading git-diff-tree failed