aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/head_40x.S
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-09-13 16:42:35 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-09-14 09:53:36 -0400
commit748a768384e05c021ea6be221b80c62a83d7b520 (patch)
tree8789a521471506c1601fff44a446a5e801fe4062 /arch/powerpc/kernel/head_40x.S
parent5e14d21e3f28a4181dacff0336040e30942f4921 (diff)
[POWERPC] Fix modpost warnings from head*.S on ppc32
We get warnings like the following from the various ppc32 head*.S files: WARNING: vmlinux.o(.text+0x358): Section mismatch: reference to .init.text:early_init (between 'skpinv' and 'interrupt_base') WARNING: vmlinux.o(.text+0x380): Section mismatch: reference to .init.text:machine_init (between 'skpinv' and 'interrupt_base') WARNING: vmlinux.o(.text+0x384): Section mismatch: reference to .init.text:MMU_init (between 'skpinv' and 'interrupt_base') WARNING: vmlinux.o(.text+0x3aa): Section mismatch: reference to .init.text:start_kernel (between 'skpinv' and 'interrupt_base') WARNING: vmlinux.o(.text+0x3ae): Section mismatch: reference to .init.text:start_kernel (between 'skpinv' and 'interrupt_base') Added a .text.head section simliar to what other architectures do since modpost already excludes this from its warnings. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/head_40x.S')
-rw-r--r--arch/powerpc/kernel/head_40x.S12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/head_40x.S b/arch/powerpc/kernel/head_40x.S
index a8e045773a92..00bdb6d1c724 100644
--- a/arch/powerpc/kernel/head_40x.S
+++ b/arch/powerpc/kernel/head_40x.S
@@ -52,9 +52,9 @@
52 * 52 *
53 * This is all going to change RSN when we add bi_recs....... -- Dan 53 * This is all going to change RSN when we add bi_recs....... -- Dan
54 */ 54 */
55 .text 55 .section .text.head, "ax"
56_GLOBAL(_stext) 56_ENTRY(_stext);
57_GLOBAL(_start) 57_ENTRY(_start);
58 58
59 /* Save parameters we are passed. 59 /* Save parameters we are passed.
60 */ 60 */
@@ -89,9 +89,9 @@ turn_on_mmu:
89 */ 89 */
90 . = 0xc0 90 . = 0xc0
91crit_save: 91crit_save:
92_GLOBAL(crit_r10) 92_ENTRY(crit_r10)
93 .space 4 93 .space 4
94_GLOBAL(crit_r11) 94_ENTRY(crit_r11)
95 .space 4 95 .space 4
96 96
97/* 97/*
@@ -814,7 +814,7 @@ finish_tlb_load:
814 * The PowerPC 4xx family of processors do not have an FPU, so this just 814 * The PowerPC 4xx family of processors do not have an FPU, so this just
815 * returns. 815 * returns.
816 */ 816 */
817_GLOBAL(giveup_fpu) 817_ENTRY(giveup_fpu)
818 blr 818 blr
819 819
820/* This is where the main kernel code starts. 820/* This is where the main kernel code starts.