diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-07-20 10:40:03 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-07-20 10:40:03 +0200 |
commit | 339547bf5de1212c9c7b89b0e0d69620709729d2 (patch) | |
tree | ff1242bc4cf023a724e788911fa79c2ad7e3e2a5 /arch/sh/kernel/vmlinux.lds.S | |
parent | sh: heartbeat: Shut up resource size warning. (diff) | |
download | linux-339547bf5de1212c9c7b89b0e0d69620709729d2.tar.xz linux-339547bf5de1212c9c7b89b0e0d69620709729d2.zip |
sh: Move entry point code to .text.head.
Follow Al Viro's m68k change from l-k:
i.e. tell modpost that entry point code (that has to be outside
of .init.text for external reasons) is OK to refer to .init.*
Shuts up some section mismatch warnings from modpost.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/sh/kernel/vmlinux.lds.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S index 5ba216180b30..9cb95af7b090 100644 --- a/arch/sh/kernel/vmlinux.lds.S +++ b/arch/sh/kernel/vmlinux.lds.S @@ -22,6 +22,7 @@ SECTIONS *(.empty_zero_page) } = 0 .text : { + *(.text.head) TEXT_TEXT SCHED_TEXT LOCK_TEXT |