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>
This commit is contained in:
Родитель
b2ad5e1e70
Коммит
df1f6d200c
|
@ -9,6 +9,7 @@
|
||||||
* 2 of the License, or (at your option) any later version.
|
* 2 of the License, or (at your option) any later version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <linux/init.h>
|
||||||
#include <linux/threads.h>
|
#include <linux/threads.h>
|
||||||
#include <linux/linkage.h>
|
#include <linux/linkage.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
|
@ -31,7 +32,7 @@
|
||||||
#define __400_LCR 0xfe000100
|
#define __400_LCR 0xfe000100
|
||||||
#define __400_LSBR 0xfe000c00
|
#define __400_LSBR 0xfe000c00
|
||||||
|
|
||||||
.section .text.init,"ax"
|
__INIT
|
||||||
.balign 4
|
.balign 4
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
* 2 of the License, or (at your option) any later version.
|
* 2 of the License, or (at your option) any later version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <linux/init.h>
|
||||||
#include <linux/threads.h>
|
#include <linux/threads.h>
|
||||||
#include <linux/linkage.h>
|
#include <linux/linkage.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
|
@ -30,7 +31,7 @@
|
||||||
#define __400_LCR 0xfe000100
|
#define __400_LCR 0xfe000100
|
||||||
#define __400_LSBR 0xfe000c00
|
#define __400_LSBR 0xfe000c00
|
||||||
|
|
||||||
.section .text.init,"ax"
|
__INIT
|
||||||
.balign 4
|
.balign 4
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
* 2 of the License, or (at your option) any later version.
|
* 2 of the License, or (at your option) any later version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <linux/init.h>
|
||||||
#include <linux/threads.h>
|
#include <linux/threads.h>
|
||||||
#include <linux/linkage.h>
|
#include <linux/linkage.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
|
@ -30,7 +31,7 @@
|
||||||
#define __400_LCR 0xfe000100
|
#define __400_LCR 0xfe000100
|
||||||
#define __400_LSBR 0xfe000c00
|
#define __400_LSBR 0xfe000c00
|
||||||
|
|
||||||
.section .text.init,"ax"
|
__INIT
|
||||||
.balign 4
|
.balign 4
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
* 2 of the License, or (at your option) any later version.
|
* 2 of the License, or (at your option) any later version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <linux/init.h>
|
||||||
#include <linux/threads.h>
|
#include <linux/threads.h>
|
||||||
#include <linux/linkage.h>
|
#include <linux/linkage.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
|
@ -29,7 +30,7 @@
|
||||||
#define __551_LCR 0xfeff1100
|
#define __551_LCR 0xfeff1100
|
||||||
#define __551_LSBR 0xfeff1c00
|
#define __551_LSBR 0xfeff1c00
|
||||||
|
|
||||||
.section .text.init,"ax"
|
__INIT
|
||||||
.balign 4
|
.balign 4
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
Загрузка…
Ссылка в новой задаче