]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: cache-v7: optimise branches in v7_flush_cache_louis
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 3 Apr 2015 10:25:39 +0000 (11:25 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 14 Apr 2015 21:26:52 +0000 (22:26 +0100)
commit217fdc6464fc22f2f5e4cfee9028bad4399b13ac
treefa411df2beabfe0378906882f026c03560ea1b97
parentaae1a73e129d6d543c5711ceb7a4806c962b4bfb
ARM: cache-v7: optimise branches in v7_flush_cache_louis

Optimise the branches such that for the majority of unaffected devices,
we avoid needing to execute the errata work-around code path by
branching to start_flush_levels early.

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