arm64: LLVMLinux: Use global stack pointer in return_address()
authorBehan Webster <behanw@converseincode.com>
Wed, 27 Aug 2014 04:29:34 +0000 (05:29 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 8 Sep 2014 13:39:19 +0000 (14:39 +0100)
commita4ceab1adbe960c781e9e2f659d7f7840eefd786
tree18201ab3b1987ab9e8b41ee8c66363a83276bfd2
parent34ccf8f455f1ae7761810a74308f82daca67ced1
arm64: LLVMLinux: Use global stack pointer in return_address()

The global register current_stack_pointer holds the current stack pointer.
This change supports being able to compile the kernel with both gcc and clang.

Author: Mark Charlebois <charlebm@gmail.com>
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Signed-off-by: Behan Webster <behanw@converseincode.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/return_address.c