diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-07-25 01:27:35 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-07-26 08:12:17 +0200 |
commit | c40b91b59de079583cde5f0c8e2c96d8af0f76a7 (patch) | |
tree | 8766c87b6d8578630859ba094b28367a89de2f49 /include | |
parent | [POWERPC] iSeries: We need vio_enable_interrupts (diff) | |
download | linux-c40b91b59de079583cde5f0c8e2c96d8af0f76a7.tar.xz linux-c40b91b59de079583cde5f0c8e2c96d8af0f76a7.zip |
[POWERPC] iSeries: Fix section mismatch warnings
WARNING: vmlinux.o(.text+0x8124): Section mismatch: reference to .init.text:.iSeries_early_setup (between '.__start_initialization_iSeries' and '.__mmu_off')
WARNING: vmlinux.o(.text+0x8128): Section mismatch: reference to .init.text:.early_setup (between '.__start_initialization_iSeries' and '.__mmu_off')
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/ppc_asm.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-powerpc/ppc_asm.h b/include/asm-powerpc/ppc_asm.h index fa083d8e4663..65325721446d 100644 --- a/include/asm-powerpc/ppc_asm.h +++ b/include/asm-powerpc/ppc_asm.h @@ -181,6 +181,18 @@ name: \ .type GLUE(.,name),@function; \ GLUE(.,name): +#define _INIT_STATIC(name) \ + .section ".text.init.refok"; \ + .align 2 ; \ + .section ".opd","aw"; \ +name: \ + .quad GLUE(.,name); \ + .quad .TOC.@tocbase; \ + .quad 0; \ + .previous; \ + .type GLUE(.,name),@function; \ +GLUE(.,name): + #else /* 32-bit */ #define _GLOBAL(n) \ |