From: Russell King Date: Thu, 1 Sep 2011 10:52:33 +0000 (+0100) Subject: ARM: pm: convert some assembly to C X-Git-Tag: v3.2-rc1~130^2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abda1bd5f4e04054ce083c298fcd68a743e9df03;p=pandora-kernel.git 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 Tested-by: Shawn Guo Tested-by: Lorenzo Pieralisi Signed-off-by: Russell King --- Reading git-diff-tree failed