summaryrefslogtreecommitdiffstats
path: root/arch/frv/kernel/head-uc-fr401.S
diff options
context:
space:
mode:
authorTim Abbott2009-04-28 01:37:58 +0200
committerLinus Torvalds2009-04-28 04:46:30 +0200
commitdf1f6d200c1e20788184251c49f349b38d90889c (patch)
treef19809828d470dd374bfcb301f098da81b81e061 /arch/frv/kernel/head-uc-fr401.S
parentFRV: Remove unused header asm/init.h. (diff)
downloadkernel-qcow2-linux-df1f6d200c1e20788184251c49f349b38d90889c.tar.gz
kernel-qcow2-linux-df1f6d200c1e20788184251c49f349b38d90889c.tar.xz
kernel-qcow2-linux-df1f6d200c1e20788184251c49f349b38d90889c.zip
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>
Diffstat (limited to 'arch/frv/kernel/head-uc-fr401.S')
-rw-r--r--arch/frv/kernel/head-uc-fr401.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/frv/kernel/head-uc-fr401.S b/arch/frv/kernel/head-uc-fr401.S
index ee282be20fff..438643cfa38e 100644
--- a/arch/frv/kernel/head-uc-fr401.S
+++ b/arch/frv/kernel/head-uc-fr401.S
@@ -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
###############################################################################