[PATCH 0/4] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM

behanw at converseincode.com behanw at converseincode.com
Wed Jul 30 16:57:25 PDT 2014


From: Behan Webster <behanw at 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




More information about the linux-arm-kernel mailing list