Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932295AbZD0SqL (ORCPT ); Mon, 27 Apr 2009 14:46:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759005AbZD0Spm (ORCPT ); Mon, 27 Apr 2009 14:45:42 -0400 Received: from pfepb.post.tele.dk ([195.41.46.236]:34122 "EHLO pfepb.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758707AbZD0Spl (ORCPT ); Mon, 27 Apr 2009 14:45:41 -0400 Date: Mon, 27 Apr 2009 20:47:50 +0200 From: Sam Ravnborg To: Tim Abbott Cc: Linus Torvalds , Linux kernel mailing list , Anders Kaseorg , Waseem Daher , Denys Vlasenko , Jeff Arnold , Paul Mundt Subject: Re: [PATCH 6/8] sh: Use __INIT macro instead of .text.init. Message-ID: <20090427184750.GF12056@uranus.ravnborg.org> References: <1240855347-19316-1-git-send-email-tabbott@mit.edu> <1240855347-19316-2-git-send-email-tabbott@mit.edu> <1240855347-19316-3-git-send-email-tabbott@mit.edu> <1240855347-19316-4-git-send-email-tabbott@mit.edu> <1240855347-19316-5-git-send-email-tabbott@mit.edu> <1240855347-19316-6-git-send-email-tabbott@mit.edu> <1240855347-19316-7-git-send-email-tabbott@mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1240855347-19316-7-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: 1404 Lines: 48 On Mon, Apr 27, 2009 at 02:02:25PM -0400, Tim Abbott wrote: > The sh architecture has some code in the .text.init section, but it > does not reference that section in its linker scripts. > > This change moves this code from the .text.init section to the > .init.text section, which is presumably where it belongs. > > Signed-off-by: Tim Abbott > Cc: Paul Mundt Acked-by: Sam Ravnborg > --- > arch/sh/kernel/cpu/sh5/entry.S | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/arch/sh/kernel/cpu/sh5/entry.S b/arch/sh/kernel/cpu/sh5/entry.S > index e640c63..7e49cb8 100644 > --- a/arch/sh/kernel/cpu/sh5/entry.S > +++ b/arch/sh/kernel/cpu/sh5/entry.S > @@ -10,6 +10,7 @@ > * for more details. > */ > #include > +#include > #include > #include > #include > @@ -2058,10 +2059,10 @@ asm_uaccess_end: > > > /* > - * --- .text.init Section > + * --- .init.text Section > */ > > - .section .text.init, "ax" > + __INIT > > /* > * void trap_init (void) > -- > 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/