summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle McMartin <kyle@minerva.i.cabal.ca>2008-05-22 22:38:26 +0400
committerKyle McMartin <kyle@minerva.i.cabal.ca>2008-06-13 18:49:47 +0400
commit1138a72cd96857d1d5928c0c8c83d8b8995eeb38 (patch)
treee0037bd2857a9c81248af1d628e5bc64c3c2992d
parentdfcf753bd3fb09f336659d07b1c48db7e62772e0 (diff)
downloadlinux-1138a72cd96857d1d5928c0c8c83d8b8995eeb38.tar.xz
parisc: move head.S to head.text section
And explicitly list it in vmlinux.lds... Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
-rw-r--r--arch/parisc/kernel/head.S3
-rw-r--r--arch/parisc/kernel/vmlinux.lds.S1
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/parisc/kernel/head.S b/arch/parisc/kernel/head.S
index ec2482dc1beb..a84e31e82876 100644
--- a/arch/parisc/kernel/head.S
+++ b/arch/parisc/kernel/head.S
@@ -32,7 +32,8 @@ ENTRY(boot_args)
.word 0 /* arg3 */
END(boot_args)
- .section .text.head
+ __HEAD
+
.align 4
.import init_thread_union,data
.import fault_vector_20,code /* IVA parisc 2.0 32 bit */
diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S
index 50b4a3a25d0a..2e516b871752 100644
--- a/arch/parisc/kernel/vmlinux.lds.S
+++ b/arch/parisc/kernel/vmlinux.lds.S
@@ -50,6 +50,7 @@ SECTIONS
_text = .; /* Text and read-only data */
.text ALIGN(16) : {
+ HEAD_TEXT
TEXT_TEXT
SCHED_TEXT
LOCK_TEXT