ARM: pm: rejig suspend follow-on function calling convention
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 13 Jun 2011 14:28:40 +0000 (15:28 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 24 Jun 2011 07:47:36 +0000 (08:47 +0100)
Save the suspend function pointer onto the stack for use when returning.
Allocate r2 to pass an argument to the suspend function.

Acked-by: Frank Hofmann <frank.hofmann@tomtom.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>

No differences found