]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 22 May 2014 15:39:28 +0000 (16:39 +0100)
commit8355ea24448ddbc1fdff3d36fe5d509d13a3ff86
tree552260aa64a27a7a676cc800f40293d31ea1a69d
parent167e4dcee760befef473a8a48aed7afc76f32ee1
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