diff options
author | Tim Abbott <tabbott@MIT.EDU> | 2009-04-26 02:10:59 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-26 16:20:38 (GMT) |
commit | b6a8d95c95814079ded93c14c4b394015d8b65cd (patch) | |
tree | d7f1b8ea9df0827047c0a56ed940066cbd0e3259 /arch/frv/kernel | |
parent | 92ca52343ca503c1f957bd649df4ef914d5fc1e8 (diff) | |
download | linux-fsl-qoriq-b6a8d95c95814079ded93c14c4b394015d8b65cd.tar.xz |
frv: convert frv to use __HEAD and HEAD_TEXT macros.
This has the consequence of changing the section name use for head
code from ".text.head" to ".head.text". Since this commit changes all
users in the architecture, this change should be harmless.
Signed-off-by: Tim Abbott <tabbott@mit.edu>
Cc: 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')
-rw-r--r-- | arch/frv/kernel/head.S | 3 | ||||
-rw-r--r-- | arch/frv/kernel/vmlinux.lds.S | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/frv/kernel/head.S b/arch/frv/kernel/head.S index fecf751..b825ef3 100644 --- a/arch/frv/kernel/head.S +++ b/arch/frv/kernel/head.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/thread_info.h> @@ -27,7 +28,7 @@ # command line string # ############################################################################### - .section .text.head,"ax" + __HEAD .balign 4 .globl _boot, __head_reference diff --git a/arch/frv/kernel/vmlinux.lds.S b/arch/frv/kernel/vmlinux.lds.S index b95c4ea..22d9787 100644 --- a/arch/frv/kernel/vmlinux.lds.S +++ b/arch/frv/kernel/vmlinux.lds.S @@ -26,7 +26,7 @@ SECTIONS _sinittext = .; .init.text : { - *(.text.head) + HEAD_TEXT #ifndef CONFIG_DEBUG_INFO INIT_TEXT EXIT_TEXT |