diff options
author | Kumar Gala <galak@freescale.com> | 2005-10-12 00:54:00 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-17 07:43:12 -0400 |
commit | ea703ce20699dd85ad7954e34b71a2c7c47b6132 (patch) | |
tree | e9d200bb4caa5a211025c1306fac0c8bd5e8e979 /arch/powerpc/kernel/head_4xx.S | |
parent | 5f2967553394d01f4bafd03398777a42e8344d28 (diff) |
[PATCH] powerpc: replace use of _GLOBAL with .globl
The _GLOBAL() macro is for text symbols only. Changed to using
.globl for .data symbols.
Signed-off-by: Kumar K. Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/head_4xx.S')
-rw-r--r-- | arch/powerpc/kernel/head_4xx.S | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/head_4xx.S b/arch/powerpc/kernel/head_4xx.S index 5772ce97e24e..10c261c67021 100644 --- a/arch/powerpc/kernel/head_4xx.S +++ b/arch/powerpc/kernel/head_4xx.S | |||
@@ -988,10 +988,14 @@ _GLOBAL(set_context) | |||
988 | * goes at the beginning of the data segment, which is page-aligned. | 988 | * goes at the beginning of the data segment, which is page-aligned. |
989 | */ | 989 | */ |
990 | .data | 990 | .data |
991 | _GLOBAL(sdata) | 991 | .align 12 |
992 | _GLOBAL(empty_zero_page) | 992 | .globl sdata |
993 | sdata: | ||
994 | .globl empty_zero_page | ||
995 | empty_zero_page: | ||
993 | .space 4096 | 996 | .space 4096 |
994 | _GLOBAL(swapper_pg_dir) | 997 | .globl swapper_pg_dir |
998 | swapper_pg_dir: | ||
995 | .space 4096 | 999 | .space 4096 |
996 | 1000 | ||
997 | 1001 | ||
@@ -1001,12 +1005,14 @@ _GLOBAL(swapper_pg_dir) | |||
1001 | exception_stack_bottom: | 1005 | exception_stack_bottom: |
1002 | .space 4096 | 1006 | .space 4096 |
1003 | critical_stack_top: | 1007 | critical_stack_top: |
1004 | _GLOBAL(exception_stack_top) | 1008 | .globl exception_stack_top |
1009 | exception_stack_top: | ||
1005 | 1010 | ||
1006 | /* This space gets a copy of optional info passed to us by the bootstrap | 1011 | /* This space gets a copy of optional info passed to us by the bootstrap |
1007 | * which is used to pass parameters into the kernel like root=/dev/sda1, etc. | 1012 | * which is used to pass parameters into the kernel like root=/dev/sda1, etc. |
1008 | */ | 1013 | */ |
1009 | _GLOBAL(cmd_line) | 1014 | .globl cmd_line |
1015 | cmd_line: | ||
1010 | .space 512 | 1016 | .space 512 |
1011 | 1017 | ||
1012 | /* Room for two PTE pointers, usually the kernel and current user pointers | 1018 | /* Room for two PTE pointers, usually the kernel and current user pointers |