Commit a0871e8c authored by Tim Abbott's avatar Tim Abbott Committed by Linus Torvalds

sparc: cleanup references to deprecated .text.init* sections.

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: default avatarTim Abbott <tabbott@mit.edu>
Cc: David S. Miller <davem@davemloft.net>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 882016ff
...@@ -735,7 +735,7 @@ go_to_highmem: ...@@ -735,7 +735,7 @@ go_to_highmem:
nop nop
/* The code above should be at beginning and we have to take care about /* 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 */ * impossible */
__INIT __INIT
/* Acquire boot time privileged register values, this will help debugging. /* Acquire boot time privileged register values, this will help debugging.
......
...@@ -467,7 +467,7 @@ jump_to_sun4u_init: ...@@ -467,7 +467,7 @@ jump_to_sun4u_init:
jmpl %g2 + %g0, %g0 jmpl %g2 + %g0, %g0
nop nop
.section .text.init.refok __REF
sun4u_init: sun4u_init:
BRANCH_IF_SUN4V(g1, sun4v_init) BRANCH_IF_SUN4V(g1, sun4v_init)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment