diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-08-21 23:44:58 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-08-22 02:48:34 -0400 |
commit | fc68e8699f1f987060ef817cff6a13a7cd7d4c8a (patch) | |
tree | 1b5735b9669b177815eb8b2aa469b25318254265 /include/asm-powerpc/ppc_asm.h | |
parent | dc559f7cd5d6d11a99b6c29402b31fbb3f3a1db0 (diff) |
[POWERPC] Move iSeries startup code out of head_64.S
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.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-powerpc/ppc_asm.h b/include/asm-powerpc/ppc_asm.h index 65325721446d..211fdaeeef84 100644 --- a/include/asm-powerpc/ppc_asm.h +++ b/include/asm-powerpc/ppc_asm.h | |||
@@ -155,6 +155,20 @@ name: \ | |||
155 | .type GLUE(.,name),@function; \ | 155 | .type GLUE(.,name),@function; \ |
156 | GLUE(.,name): | 156 | GLUE(.,name): |
157 | 157 | ||
158 | #define _INIT_GLOBAL(name) \ | ||
159 | .section ".text.init.refok"; \ | ||
160 | .align 2 ; \ | ||
161 | .globl name; \ | ||
162 | .globl GLUE(.,name); \ | ||
163 | .section ".opd","aw"; \ | ||
164 | name: \ | ||
165 | .quad GLUE(.,name); \ | ||
166 | .quad .TOC.@tocbase; \ | ||
167 | .quad 0; \ | ||
168 | .previous; \ | ||
169 | .type GLUE(.,name),@function; \ | ||
170 | GLUE(.,name): | ||
171 | |||
158 | #define _KPROBE(name) \ | 172 | #define _KPROBE(name) \ |
159 | .section ".kprobes.text","a"; \ | 173 | .section ".kprobes.text","a"; \ |
160 | .align 2 ; \ | 174 | .align 2 ; \ |