提交 0c634cc6 编写于 作者: H Helge Deller 提交者: Kyle McMartin

[PARISC] head.S: section mismatch fixes

- 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: NHelge Deller <deller@gmx.de>
SIgned-off-by: NKyle McMartin <kyle@mcmartin.ca>
上级 ab86adb4
...@@ -20,10 +20,11 @@ ...@@ -20,10 +20,11 @@
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <linux/linkage.h> #include <linux/linkage.h>
#include <linux/init.h>
.level LEVEL .level LEVEL
.data __INITDATA
ENTRY(boot_args) ENTRY(boot_args)
.word 0 /* arg0 */ .word 0 /* arg0 */
.word 0 /* arg1 */ .word 0 /* arg1 */
...@@ -31,7 +32,7 @@ ENTRY(boot_args) ...@@ -31,7 +32,7 @@ ENTRY(boot_args)
.word 0 /* arg3 */ .word 0 /* arg3 */
END(boot_args) END(boot_args)
.text .section .text.head
.align 4 .align 4
.import init_thread_union,data .import init_thread_union,data
.import fault_vector_20,code /* IVA parisc 2.0 32 bit */ .import fault_vector_20,code /* IVA parisc 2.0 32 bit */
...@@ -343,7 +344,7 @@ smp_slave_stext: ...@@ -343,7 +344,7 @@ smp_slave_stext:
ENDPROC(stext) ENDPROC(stext)
#ifndef CONFIG_64BIT #ifndef CONFIG_64BIT
.data .section .data.read_mostly
.align 4 .align 4
.export $global$,data .export $global$,data
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册