ARM: l2c: simplify l2x0 unlocking code
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 15 Mar 2014 22:49:59 +0000 (22:49 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 May 2014 23:48:11 +0000 (00:48 +0100)
commitfaf9b2e7018b0afede92329c5b35e5d113a07f1c
tree86a6748abfa16cb98818195971f0ae5bbf1fac3b
parent09a5d180ed9d5aeb9bd6b0ba2c63ad4be05cb9b9
ARM: l2c: simplify l2x0 unlocking code

The l2x0 unlocking code is only called from l2x0_enable() now, so move
the logic entirely into that function and simplify it.

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