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>
Sat, 17 Sep 2011 13:14:06 +0000 (09:14 -0400)
commit85ff8a5e0d0d0c9b65e4d8b5099bea345d1a8721
treee6049713761010ad370a167625b5aa18f731d634
parent42d7ddfbbb729ee749918132f8582ad8932d57c6
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