diff options
author | Tim Abbott <tabbott@MIT.EDU> | 2009-04-27 14:02:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-27 22:51:58 -0400 |
commit | a0871e8cb8c3f5ee2ecc560ae73a35cd420440f9 (patch) | |
tree | 496638b39cd6f27cd68d78e04e0789e56630837a /arch/sparc/kernel | |
parent | 882016ff3659126f6da50cf7cb84a0a15d00a87b (diff) |
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: Tim Abbott <tabbott@mit.edu>
Cc: David S. Miller <davem@davemloft.net>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r-- | arch/sparc/kernel/head_32.S | 2 | ||||
-rw-r--r-- | 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 e91f01a57598..6b4d8acc4c83 100644 --- a/arch/sparc/kernel/head_32.S +++ b/arch/sparc/kernel/head_32.S | |||
@@ -735,7 +735,7 @@ go_to_highmem: | |||
735 | nop | 735 | nop |
736 | 736 | ||
737 | /* The code above should be at beginning and we have to take care about | 737 | /* The code above should be at beginning and we have to take care about |
738 | * short jumps, as branching to .text.init section from .text is usually | 738 | * short jumps, as branching to .init.text section from .text is usually |
739 | * impossible */ | 739 | * impossible */ |
740 | __INIT | 740 | __INIT |
741 | /* Acquire boot time privileged register values, this will help debugging. | 741 | /* 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 3a1b7bf03cff..91bf4c7f79b9 100644 --- a/arch/sparc/kernel/head_64.S +++ b/arch/sparc/kernel/head_64.S | |||
@@ -467,7 +467,7 @@ jump_to_sun4u_init: | |||
467 | jmpl %g2 + %g0, %g0 | 467 | jmpl %g2 + %g0, %g0 |
468 | nop | 468 | nop |
469 | 469 | ||
470 | .section .text.init.refok | 470 | __REF |
471 | sun4u_init: | 471 | sun4u_init: |
472 | BRANCH_IF_SUN4V(g1, sun4v_init) | 472 | BRANCH_IF_SUN4V(g1, sun4v_init) |
473 | 473 | ||