]> git.baikalelectronics.ru Git - kernel.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, 29 May 2014 23:47:57 +0000 (00:47 +0100)
commite14dd6bc2363392f12b161cca1f4a062542ea9f0
tree3f834d8ad2a32a0f52f0c6820693afc1fd36785f
parentef54db563494fb3e0bdffa577710934a6ef97487
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