]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1921c169b832f87a9f81798048884af3cd31ea1a
tree18201ab3b1987ab9e8b41ee8c66363a83276bfd2
parent8602fdbc18e7e681e13cd56273807c385e6bfc28
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