arm64: LLVMLinux: Use current_stack_pointer in kernel/traps.c
authorBehan Webster <behanw@converseincode.com>
Wed, 27 Aug 2014 04:29:32 +0000 (05:29 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 8 Sep 2014 13:39:19 +0000 (14:39 +0100)
commit2128df143d840a20e12818290eb6e40b95cc4ac0
treea77a57b12cb6ead88811e9125621c34114945a4d
parent786248705ecf5290f26534e8eef62ba6dd63b806
arm64: LLVMLinux: Use current_stack_pointer in kernel/traps.c

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>
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Reviewed-by: Olof Johansson <olof@lixom.net>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/traps.c