]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ae65e8178e5fb81ce6373da1f12ead6c166aa84
tree0453e21ff7532d892e7328ebf7821fdca3a3f87b
parentf3557c142179a0527cec943d21339135167dfe32
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