Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754460AbZDZLNQ (ORCPT ); Sun, 26 Apr 2009 07:13:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752252AbZDZLM7 (ORCPT ); Sun, 26 Apr 2009 07:12:59 -0400 Received: from pfepb.post.tele.dk ([195.41.46.236]:52121 "EHLO pfepb.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751019AbZDZLM6 (ORCPT ); Sun, 26 Apr 2009 07:12:58 -0400 Date: Sun, 26 Apr 2009 13:15:02 +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 , Richard Henderson Subject: Re: [PATCH 03/15] alpha: convert to use __HEAD and HEAD_TEXT macros. Message-ID: <20090426111502.GB28642@uranus.ravnborg.org> References: <1240711870-30505-1-git-send-email-tabbott@mit.edu> <1240711870-30505-2-git-send-email-tabbott@mit.edu> <1240711870-30505-3-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-3-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: 1641 Lines: 51 On Sat, Apr 25, 2009 at 10:10:58PM -0400, Tim Abbott wrote: > This has the consequence of changing the section name use for head > code from ".text.head" to ".head.text". Since this commit changes all > users in the architecture, this change should be harmless. > > Signed-off-by: Tim Abbott > Cc: Richard Henderson Acked-by: Sam Ravnborg > --- > arch/alpha/kernel/head.S | 3 ++- > arch/alpha/kernel/vmlinux.lds.S | 2 +- > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/arch/alpha/kernel/head.S b/arch/alpha/kernel/head.S > index 7ac1f13..4bdd1d2 100644 > --- a/arch/alpha/kernel/head.S > +++ b/arch/alpha/kernel/head.S > @@ -7,10 +7,11 @@ > * the kernel global pointer and jump to the kernel entry-point. > */ > > +#include > #include > #include > > -.section .text.head, "ax" > +__HEAD > .globl swapper_pg_dir > .globl _stext > swapper_pg_dir=SWAPPER_PGD > diff --git a/arch/alpha/kernel/vmlinux.lds.S b/arch/alpha/kernel/vmlinux.lds.S > index ef37fc1..b9d6568 100644 > --- a/arch/alpha/kernel/vmlinux.lds.S > +++ b/arch/alpha/kernel/vmlinux.lds.S > @@ -16,7 +16,7 @@ SECTIONS > > _text = .; /* Text and read-only data */ > .text : { > - *(.text.head) > + HEAD_TEXT > TEXT_TEXT > SCHED_TEXT > LOCK_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/