ARM: l2c: restore the behaviour documented above l2c_enable()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 15 May 2015 10:56:45 +0000 (11:56 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 15 May 2015 11:10:03 +0000 (12:10 +0100)
commitd965b0fca7dcde3f82c982e0bf1631069fdeb8c9
tree610f1f5c5990d1c0902028bb1725d82e64429ef6
parent3f599875e5202986b350618a617527ab441bf206
ARM: l2c: restore the behaviour documented above l2c_enable()

l2c_enable() is documented that it must not be called if the cache has
already been enabled.  Unfortunately, commit 6b49241ac252 ("ARM: 8259/1:
l2c: Refactor the driver to use commit-like interface") changed this
without updating the comment, for very little reason.  Revert this
change and restore the expected behaviour.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-l2x0.c
This page took 0.024326 seconds and 5 git commands to generate.