Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Tim Abbott and committed by
Linus Torvalds
a0871e8c 882016ff

+2 -2
+1 -1
arch/sparc/kernel/head_32.S
··· 735 735 nop 736 736 737 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 739 * impossible */ 740 740 __INIT 741 741 /* Acquire boot time privileged register values, this will help debugging.
+1 -1
arch/sparc/kernel/head_64.S
··· 467 467 jmpl %g2 + %g0, %g0 468 468 nop 469 469 470 - .section .text.init.refok 470 + __REF 471 471 sun4u_init: 472 472 BRANCH_IF_SUN4V(g1, sun4v_init) 473 473