summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/dma-mapping.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-09-01 11:52:33 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-09-20 23:33:44 +0100
commitabda1bd5f4e04054ce083c298fcd68a743e9df03 (patch)
treebdbc41f348d17a6cdb7259a0604d3f501801f3b6 /arch/arm/mm/dma-mapping.c
parent62b2d07c0ea9db40a1787d2d0ab49f03c3e0613c (diff)
downloadblackbird-op-linux-abda1bd5f4e04054ce083c298fcd68a743e9df03.tar.gz
blackbird-op-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/mm/dma-mapping.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud