mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Tim Abbott <tabbott@MIT.EDU>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	Linux kernel mailing list <linux-kernel@vger.kernel.org>,
	Anders Kaseorg <andersk@MIT.EDU>, Waseem Daher <wdaher@MIT.EDU>,
	Denys Vlasenko <vda.linux@googlemail.com>,
	Jeff Arnold <jbarnold@MIT.EDU>, Paul Mundt <lethal@linux-sh.org>,
	"David S. Miller" <davem@davemloft.net>
Subject: Re: [PATCH 7/8] sparc: cleanup references to deprecated .text.init* sections.
Date: Mon, 27 Apr 2009 20:50:27 +0200	[thread overview]
Message-ID: <20090427185027.GG12056@uranus.ravnborg.org> (raw)
In-Reply-To: <1240855347-19316-8-git-send-email-tabbott@mit.edu>

On Mon, Apr 27, 2009 at 02:02:26PM -0400, Tim Abbott wrote:
> The section .text.init.refok is deprecated and __REF (.ref.text)
> should be used in assembly files instead.  This patch cleans up a few
> uses of .text.init.refok in the sparc architecture.
> 
> Also fix a reference to .text.init in a comment that wasn't updated to
> .init.text.
> 
> Signed-off-by: Tim Abbott <tabbott@mit.edu>
> Cc: David S. Miller <davem@davemloft.net>
Acked-by: Sam Ravnborg <sam@ravnborg.org>

> ---
>  arch/sparc/kernel/head_32.S |    2 +-
>  arch/sparc/kernel/head_64.S |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/sparc/kernel/head_32.S b/arch/sparc/kernel/head_32.S
> index e91f01a..6b4d8ac 100644
> --- a/arch/sparc/kernel/head_32.S
> +++ b/arch/sparc/kernel/head_32.S
> @@ -735,7 +735,7 @@ go_to_highmem:
>  		 nop
>  
>  /* The code above should be at beginning and we have to take care about
> - * short jumps, as branching to .text.init section from .text is usually
> + * short jumps, as branching to .init.text section from .text is usually
>   * impossible */
>  		__INIT
>  /* Acquire boot time privileged register values, this will help debugging.
> diff --git a/arch/sparc/kernel/head_64.S b/arch/sparc/kernel/head_64.S
> index 3a1b7bf..91bf4c7 100644
> --- a/arch/sparc/kernel/head_64.S
> +++ b/arch/sparc/kernel/head_64.S
> @@ -467,7 +467,7 @@ jump_to_sun4u_init:
>  	jmpl    %g2 + %g0, %g0
>  	 nop
>  
> -	.section	.text.init.refok
> +	__REF
>  sun4u_init:
>  	BRANCH_IF_SUN4V(g1, sun4v_init)
>  
> -- 
> 1.6.2.1
> 

  parent reply	other threads:[~2009-04-27 18:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-27 18:02 [PATCH 0/8] cleanup old init and refok sections Tim Abbott
2009-04-27 18:02 ` [PATCH 1/8] frv: Remove unused header asm/init.h Tim Abbott
2009-04-27 18:02   ` [PATCH 2/8] frv: Use __INIT macro instead of .text.init Tim Abbott
2009-04-27 18:02     ` [PATCH 3/8] arm: " Tim Abbott
2009-04-27 18:02       ` [PATCH 4/8] powerpc: Use TEXT_TEXT macro in linker script Tim Abbott
2009-04-27 18:02         ` [PATCH 5/8] powerpc: Use __REF macro instead of old .text.init.refok Tim Abbott
2009-04-27 18:02           ` [PATCH 6/8] sh: Use __INIT macro instead of .text.init Tim Abbott
2009-04-27 18:02             ` [PATCH 7/8] sparc: cleanup references to deprecated .text.init* sections Tim Abbott
2009-04-27 18:02               ` [PATCH 8/8] Remove unused support code for refok sections Tim Abbott
2009-04-27 18:51                 ` Sam Ravnborg
2009-04-27 18:50               ` Sam Ravnborg [this message]
2009-04-27 18:47             ` [PATCH 6/8] sh: Use __INIT macro instead of .text.init Sam Ravnborg
2009-04-27 21:54             ` Paul Mundt
2009-04-27 18:44           ` [PATCH 5/8] powerpc: Use __REF macro instead of old .text.init.refok Sam Ravnborg
2009-04-27 18:44         ` [PATCH 4/8] powerpc: Use TEXT_TEXT macro in linker script Sam Ravnborg
2009-04-27 18:43       ` [PATCH 3/8] arm: Use __INIT macro instead of .text.init Sam Ravnborg
2009-04-27 18:44         ` Russell King
2009-04-27 18:37     ` [PATCH 2/8] frv: " Sam Ravnborg
2009-04-27 18:31   ` [PATCH 1/8] frv: Remove unused header asm/init.h Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090427185027.GG12056@uranus.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=andersk@MIT.EDU \
    --cc=davem@davemloft.net \
    --cc=jbarnold@MIT.EDU \
    --cc=lethal@linux-sh.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tabbott@MIT.EDU \
    --cc=torvalds@linux-foundation.org \
    --cc=vda.linux@googlemail.com \
    --cc=wdaher@MIT.EDU \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome