public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM
@ 2014-07-30 23:57 behanw
  2014-07-30 23:57 ` [PATCH 1/4] arm64: LLVMLinux: Add current_stack_pointer() for arm64 behanw
                   ` (5 more replies)
  0 siblings, 6 replies; 22+ messages in thread
From: behanw @ 2014-07-30 23:57 UTC (permalink / raw)
  To: ard.biesheuvel, catalin.marinas, k.khlebnikov, olof, peterz,
	takahiro.akashi, tglx, will.deacon
  Cc: linux-arm-kernel, linux-kernel, mingo, dwmw2, Behan Webster

From: Behan Webster <behanw@converseincode.com>

This patch set moves from using locally defined named registers to access the
stack pointer to using a globally defined named register. This allows the code
to work both with gcc and clang.

The LLVMLinux project aims to fully build the Linux kernel using both gcc and
clang (the C front end for the LLVM compiler infrastructure project). 

Behan Webster (4):
  arm64: LLVMLinux: Add current_stack_pointer() for arm64
  arm64: LLVMLinux: Use current_stack_pointer in save_stack_trace_tsk
  arm64: LLVMLinux: Calculate current_thread_info from
    current_stack_pointer
  arm64: LLVMLinux: Use current_stack_pointer in kernel/traps.c

 arch/arm64/include/asm/thread_info.h | 9 +++++++--
 arch/arm64/kernel/stacktrace.c       | 3 +--
 arch/arm64/kernel/traps.c            | 3 +--
 3 files changed, 9 insertions(+), 6 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2014-08-27  4:31 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-30 23:57 [PATCH 0/4] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM behanw
2014-07-30 23:57 ` [PATCH 1/4] arm64: LLVMLinux: Add current_stack_pointer() for arm64 behanw
2014-07-30 23:57 ` [PATCH 2/4] arm64: LLVMLinux: Use current_stack_pointer in save_stack_trace_tsk behanw
2014-07-30 23:57 ` [PATCH 3/4] arm64: LLVMLinux: Calculate current_thread_info from current_stack_pointer behanw
2014-07-31  5:31   ` Andreas Färber
2014-07-31 16:04     ` Behan Webster
2014-07-30 23:57 ` [PATCH 4/4] arm64: LLVMLinux: Use current_stack_pointer in kernel/traps.c behanw
2014-07-31  0:11 ` [PATCH 0/4] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM Olof Johansson
2014-07-31 10:33 ` Will Deacon
2014-07-31 15:39   ` Olof Johansson
2014-07-31 15:48     ` Will Deacon
2014-07-31 15:52       ` Olof Johansson
2014-08-01  4:11   ` Behan Webster
2014-08-26 14:16     ` Will Deacon
2014-08-27  4:26       ` Behan Webster
2014-08-27  4:29       ` [PATCH V2 0/6] " behanw
2014-08-27  4:29         ` [PATCH V2 1/6] arm64: LLVMLinux: Add current_stack_pointer() for arm64 behanw
2014-08-27  4:29         ` [PATCH V2 2/6] arm64: LLVMLinux: Use current_stack_pointer in save_stack_trace_tsk behanw
2014-08-27  4:29         ` [PATCH V2 3/6] arm64: LLVMLinux: Calculate current_thread_info from current_stack_pointer behanw
2014-08-27  4:29         ` [PATCH V2 4/6] arm64: LLVMLinux: Use current_stack_pointer in kernel/traps.c behanw
2014-08-27  4:29         ` [PATCH V2 5/6] arm64: LLVMLinux: Use global stack register variable for aarch64 behanw
2014-08-27  4:29         ` [PATCH V2 6/6] arm64: LLVMLinux: Use global stack pointer in return_address() behanw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox