ARM: pm: get rid of cpu_resume_turn_mmu_on
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 31 Aug 2011 22:26:18 +0000 (23:26 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 20 Sep 2011 22:33:42 +0000 (23:33 +0100)
commit62b2d07c0ea9db40a1787d2d0ab49f03c3e0613c
tree55c2f172adea7fba22fdedbb922f4628ba9523df
parent1aede681ac159884c77817d33230eed9185b6f6c
ARM: pm: get rid of cpu_resume_turn_mmu_on

We don't require cpu_resume_turn_mmu_on as we can combine the ldr
instruction with the following code provided we ensure that
cpu_resume_mmu is aligned for older CPUs.  Note that we also align
to a 32-byte boundary to ensure that the code can't cross a section
boundary.

Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/sleep.S
arch/arm/kernel/suspend.c