x86: use _ASM_PTR instead of explicit word-size pointers.
authorGlauber Costa <gcosta@redhat.com>
Tue, 24 Jun 2008 15:02:44 +0000 (12:02 -0300)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 07:14:04 +0000 (09:14 +0200)
Switch .long and .quad with _ASM_PTR in getuser*.S.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/lib/getuser_32.S
arch/x86/lib/getuser_64.S

index 2cc3cee..2bb0a18 100644 (file)
@@ -73,7 +73,7 @@ bad_get_user:
 END(bad_get_user)
 
 .section __ex_table,"a"
-       .long 1b,bad_get_user
-       .long 2b,bad_get_user
-       .long 3b,bad_get_user
+       _ASM_PTR 1b,bad_get_user
+       _ASM_PTR 2b,bad_get_user
+       _ASM_PTR 3b,bad_get_user
 .previous
index 63b0e5c..e333884 100644 (file)
@@ -93,8 +93,8 @@ bad_get_user:
 END(bad_get_user)
 
 .section __ex_table,"a"
-       .quad 1b,bad_get_user
-       .quad 2b,bad_get_user
-       .quad 3b,bad_get_user
-       .quad 4b,bad_get_user
+       _ASM_PTR 1b,bad_get_user
+       _ASM_PTR 2b,bad_get_user
+       _ASM_PTR 3b,bad_get_user
+       _ASM_PTR 4b,bad_get_user
 .previous