]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 14 Apr 2014 10:15:55 +0000 (11:15 +0100)
commit5d1c5ba0bab422ffd645e7bdea84602adf341398
tree1475e2d46d5b68b3dc359b2ad25a593f215b8c92
parent9f2556fafa26213809d9d57a27cb1c7d6703b3b8
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