aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-02-04 00:06:25 -0500
committerAnton Blanchard <anton@samba.org>2014-04-22 20:05:18 -0400
commita0e971ffb9d9dae3b9892fb548bd2497db758f60 (patch)
tree29a7e992fc1b44865e6d9b68c7bb3e0cd85bc020
parent6a3bab90cf78bc579638525cb76ac240f8253803 (diff)
powerpc: Remove _INIT_GLOBAL(), _STATIC() and _INIT_STATIC()
Now there are no users of _INIT_GLOBAL(), _STATIC() and _INIT_STATIC() we can remove them. Signed-off-by: Anton Blanchard <anton@samba.org>
-rw-r--r--arch/powerpc/include/asm/ppc_asm.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/arch/powerpc/include/asm/ppc_asm.h b/arch/powerpc/include/asm/ppc_asm.h
index 3128ba3ba7a0..35b23a6584cb 100644
--- a/arch/powerpc/include/asm/ppc_asm.h
+++ b/arch/powerpc/include/asm/ppc_asm.h
@@ -209,20 +209,6 @@ name: \
209 .type GLUE(.,name),@function; \ 209 .type GLUE(.,name),@function; \
210GLUE(.,name): 210GLUE(.,name):
211 211
212#define _INIT_GLOBAL(name) \
213 __REF; \
214 .align 2 ; \
215 .globl name; \
216 .globl GLUE(.,name); \
217 .section ".opd","aw"; \
218name: \
219 .quad GLUE(.,name); \
220 .quad .TOC.@tocbase; \
221 .quad 0; \
222 .previous; \
223 .type GLUE(.,name),@function; \
224GLUE(.,name):
225
226#define _KPROBE(name) \ 212#define _KPROBE(name) \
227 .section ".kprobes.text","a"; \ 213 .section ".kprobes.text","a"; \
228 .align 2 ; \ 214 .align 2 ; \
@@ -237,30 +223,6 @@ name: \
237 .type GLUE(.,name),@function; \ 223 .type GLUE(.,name),@function; \
238GLUE(.,name): 224GLUE(.,name):
239 225
240#define _STATIC(name) \
241 .section ".text"; \
242 .align 2 ; \
243 .section ".opd","aw"; \
244name: \
245 .quad GLUE(.,name); \
246 .quad .TOC.@tocbase; \
247 .quad 0; \
248 .previous; \
249 .type GLUE(.,name),@function; \
250GLUE(.,name):
251
252#define _INIT_STATIC(name) \
253 __REF; \
254 .align 2 ; \
255 .section ".opd","aw"; \
256name: \
257 .quad GLUE(.,name); \
258 .quad .TOC.@tocbase; \
259 .quad 0; \
260 .previous; \
261 .type GLUE(.,name),@function; \
262GLUE(.,name):
263
264#else /* 32-bit */ 226#else /* 32-bit */
265 227
266#define _ENTRY(n) \ 228#define _ENTRY(n) \