ARM: Avoid writing to control register on every exception
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 28 Aug 2014 12:08:14 +0000 (13:08 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 26 Sep 2014 13:39:54 +0000 (14:39 +0100)
If we are not changing the control register value, avoid writing to it.
Writes to the control register can be very expensive, taking around a
hundred cycles or so.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found