From: Behan Webster Date: Wed, 27 Aug 2014 04:29:31 +0000 (+0100) Subject: arm64: LLVMLinux: Calculate current_thread_info from current_stack_pointer X-Git-Tag: fixes-for-v3.18-merge-window~21^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=786248705ecf5290f26534e8eef62ba6dd63b806;p=pandora-kernel.git arm64: LLVMLinux: Calculate current_thread_info from current_stack_pointer 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 Signed-off-by: Mark Charlebois Reviewed-by: Jan-Simon Möller Reviewed-by: Olof Johansson Acked-by: Will Deacon Signed-off-by: Will Deacon --- Reading git-diff-tree failed