powerpc: Remove _INIT_GLOBAL(), _STATIC() and _INIT_STATIC()
authorAnton Blanchard <anton@samba.org>
Tue, 4 Feb 2014 05:06:25 +0000 (16:06 +1100)
committerAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 00:05:18 +0000 (10:05 +1000)
Now there are no users of _INIT_GLOBAL(), _STATIC() and _INIT_STATIC()
we can remove them.

Signed-off-by: Anton Blanchard <anton@samba.org>
arch/powerpc/include/asm/ppc_asm.h

index 3128ba3ba7a03924e4bd6f9ee631f938841e6bc9..35b23a6584cbd521236ffa9e18e3e00fe27c7c8c 100644 (file)
@@ -209,20 +209,6 @@ name: \
        .type GLUE(.,name),@function; \
 GLUE(.,name):
 
-#define _INIT_GLOBAL(name) \
-       __REF; \
-       .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 ; \
@@ -237,30 +223,6 @@ name: \
        .type GLUE(.,name),@function; \
 GLUE(.,name):
 
-#define _STATIC(name) \
-       .section ".text"; \
-       .align 2 ; \
-       .section ".opd","aw"; \
-name: \
-       .quad GLUE(.,name); \
-       .quad .TOC.@tocbase; \
-       .quad 0; \
-       .previous; \
-       .type GLUE(.,name),@function; \
-GLUE(.,name):
-
-#define _INIT_STATIC(name) \
-       __REF; \
-       .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 _ENTRY(n)      \