ARM: pm: avoid writing the auxillary control register for ARMv7
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 26 Aug 2011 21:44:59 +0000 (22:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 28 Aug 2011 09:39:54 +0000 (10:39 +0100)
commit25904157168ddc8841748a729914f00e53d7e049
tree0453e21ff7532d892e7328ebf7821fdca3a3f87b
parentf35235a315a167e38e8e5bc9e476dcd7c932612c
ARM: pm: avoid writing the auxillary control register for ARMv7

For ARMv7 kernels running in the non-secure world, writing to the
auxillary control register causes an abort, so we must avoid directly
writing the auxillary control register.  If the ACR has already been
reinitialized by SoC code, don't try to restore it.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/proc-v7.S