Skip to content

Commit

Permalink
[PARISC] head.S: section mismatch fixes
Browse files Browse the repository at this point in the history
- move boot_args[] into the init section
- move $global$ into the read_mostly section
- fix the following two section mismatches:
WARNING: vmlinux.o(.text+0x9c): Section mismatch: reference to .init.text:start_kernel (between '$pgt_fill_loop' and '$is_pa20')
WARNING: vmlinux.o(.text+0xa0): Section mismatch: reference to .init.text:start_kernel (between '$pgt_fill_loop' and '$is_pa20')

Signed-off-by: Helge Deller <deller@gmx.de>
SIgned-off-by: Kyle McMartin <kyle@mcmartin.ca>
  • Loading branch information
Helge Deller authored and Kyle McMartin committed Mar 16, 2008
1 parent ab86adb commit 0c634cc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arch/parisc/kernel/head.S
Original file line number Diff line number Diff line change
@@ -20,18 +20,19 @@
#include <asm/pgtable.h>

#include <linux/linkage.h>
#include <linux/init.h>

.level LEVEL

.data
__INITDATA
ENTRY(boot_args)
.word 0 /* arg0 */
.word 0 /* arg1 */
.word 0 /* arg2 */
.word 0 /* arg3 */
END(boot_args)

.text
.section .text.head
.align 4
.import init_thread_union,data
.import fault_vector_20,code /* IVA parisc 2.0 32 bit */
@@ -343,7 +344,7 @@ smp_slave_stext:
ENDPROC(stext)

#ifndef CONFIG_64BIT
.data
.section .data.read_mostly

.align 4
.export $global$,data

0 comments on commit 0c634cc

Please sign in to comment.