lkml.org 
[lkml]   [2014]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH V2 0/6] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM
Date
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 (5):
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
arm64: LLVMLinux: Use global stack pointer in return_address()

Mark Charlebois (1):
arm64: LLVMLinux: Use global stack register variable for aarch64

arch/arm64/include/asm/percpu.h | 4 ++--
arch/arm64/include/asm/thread_info.h | 9 +++++++--
arch/arm64/kernel/return_address.c | 3 +--
arch/arm64/kernel/stacktrace.c | 3 +--
arch/arm64/kernel/traps.c | 3 +--
5 files changed, 12 insertions(+), 10 deletions(-)

--
1.9.1



\
 
 \ /
  Last update: 2014-08-27 06:41    [W:0.429 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site