Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df1f6d20 authored by Tim Abbott's avatar Tim Abbott Committed by Linus Torvalds
Browse files

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: default avatarTim Abbott <tabbott@mit.edu>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b2ad5e1e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
 * 2 of the License, or (at your option) any later version.
 */

#include <linux/init.h>
#include <linux/threads.h>
#include <linux/linkage.h>
#include <asm/ptrace.h>
@@ -31,7 +32,7 @@
#define __400_LCR	0xfe000100
#define __400_LSBR	0xfe000c00

	.section	.text.init,"ax"
	__INIT
	.balign		4

###############################################################################
+2 −1
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
 * 2 of the License, or (at your option) any later version.
 */

#include <linux/init.h>
#include <linux/threads.h>
#include <linux/linkage.h>
#include <asm/ptrace.h>
@@ -30,7 +31,7 @@
#define __400_LCR	0xfe000100
#define __400_LSBR	0xfe000c00

	.section	.text.init,"ax"
	__INIT
	.balign		4

###############################################################################
+2 −1
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
 * 2 of the License, or (at your option) any later version.
 */

#include <linux/init.h>
#include <linux/threads.h>
#include <linux/linkage.h>
#include <asm/ptrace.h>
@@ -30,7 +31,7 @@
#define __400_LCR	0xfe000100
#define __400_LSBR	0xfe000c00

	.section	.text.init,"ax"
	__INIT
	.balign		4

###############################################################################
+2 −1
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
 * 2 of the License, or (at your option) any later version.
 */

#include <linux/init.h>
#include <linux/threads.h>
#include <linux/linkage.h>
#include <asm/ptrace.h>
@@ -29,7 +30,7 @@
#define __551_LCR	0xfeff1100
#define __551_LSBR	0xfeff1c00

	.section	.text.init,"ax"
	__INIT
	.balign		4

###############################################################################