]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/ppc_asm.h
Merge branch 'linux-2.6' into for-2.6.24
[linux-2.6] / include / asm-powerpc / ppc_asm.h
index 65325721446deca505420cfc8dae4cf8c1430847..211fdaeeef84abe74fbcf5d8ee4bac5e44859ea4 100644 (file)
@@ -155,6 +155,20 @@ name: \
        .type GLUE(.,name),@function; \
 GLUE(.,name):
 
+#define _INIT_GLOBAL(name) \
+       .section ".text.init.refok"; \
+       .align 2 ; \
+       .globl name; \
+       .globl GLUE(.,name); \
+       .section ".opd","aw"; \
+name: \
+       .quad GLUE(.,name); \
+       .quad .TOC.@tocbase; \
+       .quad 0; \
+       .previous; \
+       .type GLUE(.,name),@function; \
+GLUE(.,name):
+
 #define _KPROBE(name) \
        .section ".kprobes.text","a"; \
        .align 2 ; \