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.

sh: Use __INIT macro instead of .text.init.

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 <tabbott@mit.edu>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Tim Abbott and committed by
Linus Torvalds
882016ff 9203fc9c

+3 -2
+3 -2
arch/sh/kernel/cpu/sh5/entry.S
··· 10 10 * for more details. 11 11 */ 12 12 #include <linux/errno.h> 13 + #include <linux/init.h> 13 14 #include <linux/sys.h> 14 15 #include <cpu/registers.h> 15 16 #include <asm/processor.h> ··· 2059 2058 2060 2059 2061 2060 /* 2062 - * --- .text.init Section 2061 + * --- .init.text Section 2063 2062 */ 2064 2063 2065 - .section .text.init, "ax" 2064 + __INIT 2066 2065 2067 2066 /* 2068 2067 * void trap_init (void)