Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753144AbaGMJLM (ORCPT ); Sun, 13 Jul 2014 05:11:12 -0400 Received: from mail-qa0-f43.google.com ([209.85.216.43]:43597 "EHLO mail-qa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752471AbaGMJLD (ORCPT ); Sun, 13 Jul 2014 05:11:03 -0400 Date: Sun, 13 Jul 2014 05:10:59 -0400 (EDT) From: Nicolas Pitre To: behanw@converseincode.com cc: anurag19aggarwal@gmail.com, catalin.marinas@arm.com, charlebm@gmail.com, dave.long@linaro.org, k.khlebnikov@samsung.com, linux@arm.linux.org.uk, linyongting@gmail.com, Nikolay.Borisov@arm.com, tglx@linutronix.de, u.kleine-koenig@pengutronix.de, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, rabin@rab.in, rostedt@goodmis.org, dwmw2@infradead.org Subject: Re: [PATCH 0/6] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM In-Reply-To: <1404850576-2006-1-git-send-email-behanw@converseincode.com> Message-ID: References: <1404850576-2006-1-git-send-email-behanw@converseincode.com> User-Agent: Alpine 2.11 (LFD 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 8 Jul 2014, behanw@converseincode.com wrote: > From: Behan Webster > > 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). > > Clang only supports global named registers for non-allocatable registers like > the stack pointer. By centralizing the definition of current_stack_pointer, the > use of named registers for ARM remains largely unchanged while working for both > gcc and clang. You verified that the compiled code is identical on gcc? If so: Acked-by: Nicolas Pitre > > Behan Webster (6): > arm: LLVMLinux: Add global named register current_stack_pointer for > ARM > arm: LLVMLinux: Use current_stack_pointer to calculate pt_regs address > arm: LLVMLinux: Use current_stack_pointer for return_address > arm: LLVMLinux: Use current_stack_pointer in save_stack_trace_tsk > arm: LLVMLinux: Calculate current_thread_info from > current_stack_pointer > arm: LLVMLinux: Use current_stack_pointer in unwind_backtrace > > arch/arm/include/asm/ptrace.h | 5 ++--- > arch/arm/include/asm/thread_info.h | 9 +++++++-- > arch/arm/kernel/return_address.c | 3 +-- > arch/arm/kernel/stacktrace.c | 4 +--- > arch/arm/kernel/unwind.c | 3 +-- > 5 files changed, 12 insertions(+), 12 deletions(-) > > -- > 1.9.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/