Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754244AbZDZLL7 (ORCPT ); Sun, 26 Apr 2009 07:11:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751799AbZDZLLt (ORCPT ); Sun, 26 Apr 2009 07:11:49 -0400 Received: from pfepa.post.tele.dk ([195.41.46.235]:35467 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751019AbZDZLLs (ORCPT ); Sun, 26 Apr 2009 07:11:48 -0400 Date: Sun, 26 Apr 2009 13:13:49 +0200 From: Sam Ravnborg To: Tim Abbott Cc: Linus Torvalds , Linux kernel mailing list , Anders Kaseorg , Waseem Daher , Denys Vlasenko , Rusty Russell , Andi Kleen , "H. Peter Anvin" , Stephen Rothwell , Jeff Arnold , Andrew Morton , Jon Masters , Masami Hiramatsu , "Theodore Ts'o" , Nikanth Karthikesan , Arjan van de Ven , Paul Mundt , =?iso-8859-1?Q?Am=E9rico?= Wang , Ralf Baechle , Kyle McMartin , David Howells , Chris Zankel Subject: Re: [PATCH 02/15] xtensa: convert to use __HEAD and HEAD_TEXT macros. Message-ID: <20090426111349.GA28642@uranus.ravnborg.org> References: <1240711870-30505-1-git-send-email-tabbott@mit.edu> <1240711870-30505-2-git-send-email-tabbott@mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1240711870-30505-2-git-send-email-tabbott@mit.edu> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1583 Lines: 53 On Sat, Apr 25, 2009 at 10:10:57PM -0400, Tim Abbott wrote: > Signed-off-by: Tim Abbott > Cc: Chris Zankel Acked-by: Sam Ravnborg > --- > arch/xtensa/kernel/head.S | 3 ++- > arch/xtensa/kernel/vmlinux.lds.S | 4 ++-- > 2 files changed, 4 insertions(+), 3 deletions(-) > > diff --git a/arch/xtensa/kernel/head.S b/arch/xtensa/kernel/head.S > index 0817f9d..d9ddc1b 100644 > --- a/arch/xtensa/kernel/head.S > +++ b/arch/xtensa/kernel/head.S > @@ -19,6 +19,7 @@ > #include > #include > > +#include > #include > > /* > @@ -45,7 +46,7 @@ > * instruction. > */ > > - .section .head.text, "ax" > + __HEAD > .globl _start > _start: _j 2f > .align 4 > diff --git a/arch/xtensa/kernel/vmlinux.lds.S b/arch/xtensa/kernel/vmlinux.lds.S > index c1be9a4..5accf51 100644 > --- a/arch/xtensa/kernel/vmlinux.lds.S > +++ b/arch/xtensa/kernel/vmlinux.lds.S > @@ -85,8 +85,8 @@ SECTIONS > > .text : > { > - /* The .head.text section must be the first section! */ > - *(.head.text) > + /* The HEAD_TEXT section must be the first section! */ > + HEAD_TEXT > *(.literal .text) > VMLINUX_SYMBOL(__sched_text_start) = .; > *(.sched.literal .sched.text) > -- > 1.6.2.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/