summaryrefslogtreecommitdiffstats
path: root/arch/arm/nwfpe
diff options
context:
space:
mode:
authorRussell King2011-09-01 12:52:33 +0200
committerRussell King2011-09-21 00:33:44 +0200
commitabda1bd5f4e04054ce083c298fcd68a743e9df03 (patch)
treebdbc41f348d17a6cdb7259a0604d3f501801f3b6 /arch/arm/nwfpe
parentARM: pm: get rid of cpu_resume_turn_mmu_on (diff)
downloadkernel-qcow2-linux-abda1bd5f4e04054ce083c298fcd68a743e9df03.tar.gz
kernel-qcow2-linux-abda1bd5f4e04054ce083c298fcd68a743e9df03.tar.xz
kernel-qcow2-linux-abda1bd5f4e04054ce083c298fcd68a743e9df03.zip
ARM: pm: convert some assembly to C
Convert some of the sleep.S guts to C code, which makes it easier to use our macros and to add L2 cache handling. We provide a helper function, __cpu_suspend_save(), which deals with saving the common state, setting up for resume, and flushing caches. The remainder left as assembly code is the saving of the CPU general purpose registers, and allocating space on the stack to save the CPU specific registers and resume state. 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>
Diffstat (limited to 'arch/arm/nwfpe')
0 files changed, 0 insertions, 0 deletions