summaryrefslogtreecommitdiff
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-06-24 12:02:44 -0300
committerIngo Molnar <mingo@elte.hu>2008-07-09 09:14:04 +0200
commit87e2f1e7f6ab66306320403d4502d7938d3c703e (patch)
tree3ab2fb88581cac8568c250093c8f03aebe8bdb1d /arch/x86/lib
parent40faf463e62de0b29722910eded7dd26cd8b684b (diff)
x86: use _ASM_PTR instead of explicit word-size pointers.
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>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/getuser_32.S6
-rw-r--r--arch/x86/lib/getuser_64.S8
2 files changed, 7 insertions, 7 deletions
diff --git a/arch/x86/lib/getuser_32.S b/arch/x86/lib/getuser_32.S
index 2cc3ceee8f91..2bb0a183e066 100644
--- a/arch/x86/lib/getuser_32.S
+++ b/arch/x86/lib/getuser_32.S
@@ -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
diff --git a/arch/x86/lib/getuser_64.S b/arch/x86/lib/getuser_64.S
index 63b0e5c1e582..e33388419b7b 100644
--- a/arch/x86/lib/getuser_64.S
+++ b/arch/x86/lib/getuser_64.S
@@ -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