ARM: l2c: only write the auxiliary control register if required
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 17 Mar 2014 20:10:31 +0000 (20:10 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 May 2014 23:47:57 +0000 (00:47 +0100)
commit9a07f27bc5ff2e36400e605d99cc1e129582a0ca
tree3f834d8ad2a32a0f52f0c6820693afc1fd36785f
parent17f3f99fab43ad17ae1adfc724e5ebaca9635902
ARM: l2c: only write the auxiliary control register if required

Avoid unnecessary writes to the auxiliary control register if the
register already contains the required value.  This allows us to
avoid invoking the platforms secure monitor code unnecessarily.

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