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)
committerJason Kridner <jdk@ti.com>
Thu, 15 Sep 2011 18:58:51 +0000 (14:58 -0400)
commit87f24e37487350d50d94f3e00bf9a539ae8bc011
tree0e53fba268b5cea2e940fdbcbb894ede7dc6c394
parent0fa8accdcdc870bb84395d1c6b96507aa5b8ef6e
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