Skip to content

Commit

Permalink
powerpc: Remove _INIT_GLOBAL(), _STATIC() and _INIT_STATIC()
Browse files Browse the repository at this point in the history
Now there are no users of _INIT_GLOBAL(), _STATIC() and _INIT_STATIC()
we can remove them.

Signed-off-by: Anton Blanchard <[email protected]>
  • Loading branch information
antonblanchard committed Apr 23, 2014
1 parent 6a3bab9 commit a0e971f
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions arch/powerpc/include/asm/ppc_asm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 ; \
Expand All @@ -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) \
Expand Down

0 comments on commit a0e971f

Please sign in to comment.