ARM: pm: omap34xx: no need to save all registers in sleep34xx.S
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Jun 2011 11:44:32 +0000 (12:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 24 Jun 2011 07:48:45 +0000 (08:48 +0100)
commit857c1b81f8dd2e2a97d859d7e53dd955e2ab55af
tree4d13af4e3c0e6abafcb1e5abd0cc9000292f7ab6
parenta9503d2185bbc28e498c435a07f24986c48b5cbe
ARM: pm: omap34xx: no need to save all registers in sleep34xx.S

The ABI allows called functions to corrupt r0-r3 and ip (r12).  So
its pointless saving these registers in the suspend code - the
calling function will expect them to be corrupted and so won't rely
on their contents after resume.

Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-by: Kevin Hilman <khilman@ti.com>
Acked-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap2/sleep34xx.S