]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Sun, 4 Sep 2011 10:09:38 +0000 (11:09 +0100)
commit59ae66778e029675e2dc6a4705ab47194cc30296
tree175b47c2cbab2dea502fa4d2b38b2d7ecb42b3b1
parent53b4a30f955b98084fff406455dc7296fa4f5c06
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>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/sleep.S
arch/arm/kernel/suspend.c