ARM: 8171/1: Use current_stack_pointer for return_address
authorBehan Webster <behanw@converseincode.com>
Fri, 26 Sep 2014 23:31:07 +0000 (00:31 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 13 Nov 2014 23:58:01 +0000 (23:58 +0000)
commita556ee1247b99720d9ba6d8a3ed43dd960575d07
treebd187df1d49f1639d5cd82f1b55d13b8b76e069d
parent0abc08baf2ddf61a37d375a9fb832be612f9c5a5
ARM: 8171/1: Use current_stack_pointer for return_address

Use the global current_stack_pointer to get the value of the stack pointer.
This change supports being able to compile the kernel with both gcc and Clang.

Signed-off-by: Behan Webster <behanw@converseincode.com>
Reviewed-by: Mark Charlebois <charlebm@gmail.com>
Reviewed-by: Jan-Simon Möller <dl9pf@gmx.de>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/return_address.c