ARM: cache-v7: optimise branches in v7_flush_cache_louis
authorRussell King <[email protected]>
Fri, 3 Apr 2015 10:25:39 +0000 (11:25 +0100)
committerRussell King <[email protected]>
Tue, 14 Apr 2015 21:26:52 +0000 (22:26 +0100)
commitd3cd451dfb579367b4c5968256b3d8342dd0b0e8
treefa411df2beabfe0378906882f026c03560ea1b97
parentcd8b24d9e852b53e68c69a086358c81423dfb8d1
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 <[email protected]>
Signed-off-by: Russell King <[email protected]>
arch/arm/mm/cache-v7.S