summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/ppc_asm.h
diff options
context:
space:
mode:
authorStephen Rothwell2007-07-25 01:27:35 +0200
committerPaul Mackerras2007-07-26 08:12:17 +0200
commitc40b91b59de079583cde5f0c8e2c96d8af0f76a7 (patch)
tree8766c87b6d8578630859ba094b28367a89de2f49 /include/asm-powerpc/ppc_asm.h
parent[POWERPC] iSeries: We need vio_enable_interrupts (diff)
downloadkernel-qcow2-linux-c40b91b59de079583cde5f0c8e2c96d8af0f76a7.tar.gz
kernel-qcow2-linux-c40b91b59de079583cde5f0c8e2c96d8af0f76a7.tar.xz
kernel-qcow2-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/asm-powerpc/ppc_asm.h')
-rw-r--r--include/asm-powerpc/ppc_asm.h12
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) \