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.

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

FRV is placing some code in the .text.init section but 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>
Signed-off-by: David Howells <dhowells@redhat.com>
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
df1f6d20 b2ad5e1e

+8 -4
+2 -1
arch/frv/kernel/head-mmu-fr451.S
··· 9 9 * 2 of the License, or (at your option) any later version. 10 10 */ 11 11 12 + #include <linux/init.h> 12 13 #include <linux/threads.h> 13 14 #include <linux/linkage.h> 14 15 #include <asm/ptrace.h> ··· 32 31 #define __400_LCR 0xfe000100 33 32 #define __400_LSBR 0xfe000c00 34 33 35 - .section .text.init,"ax" 34 + __INIT 36 35 .balign 4 37 36 38 37 ###############################################################################
+2 -1
arch/frv/kernel/head-uc-fr401.S
··· 9 9 * 2 of the License, or (at your option) any later version. 10 10 */ 11 11 12 + #include <linux/init.h> 12 13 #include <linux/threads.h> 13 14 #include <linux/linkage.h> 14 15 #include <asm/ptrace.h> ··· 31 30 #define __400_LCR 0xfe000100 32 31 #define __400_LSBR 0xfe000c00 33 32 34 - .section .text.init,"ax" 33 + __INIT 35 34 .balign 4 36 35 37 36 ###############################################################################
+2 -1
arch/frv/kernel/head-uc-fr451.S
··· 9 9 * 2 of the License, or (at your option) any later version. 10 10 */ 11 11 12 + #include <linux/init.h> 12 13 #include <linux/threads.h> 13 14 #include <linux/linkage.h> 14 15 #include <asm/ptrace.h> ··· 31 30 #define __400_LCR 0xfe000100 32 31 #define __400_LSBR 0xfe000c00 33 32 34 - .section .text.init,"ax" 33 + __INIT 35 34 .balign 4 36 35 37 36 ###############################################################################
+2 -1
arch/frv/kernel/head-uc-fr555.S
··· 9 9 * 2 of the License, or (at your option) any later version. 10 10 */ 11 11 12 + #include <linux/init.h> 12 13 #include <linux/threads.h> 13 14 #include <linux/linkage.h> 14 15 #include <asm/ptrace.h> ··· 30 29 #define __551_LCR 0xfeff1100 31 30 #define __551_LSBR 0xfeff1c00 32 31 33 - .section .text.init,"ax" 32 + __INIT 34 33 .balign 4 35 34 36 35 ###############################################################################