Skip to content

Commit

Permalink
x86: use _ASM_PTR instead of explicit word-size pointers.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Glauber Costa authored and Ingo Molnar committed Jul 9, 2008
1 parent 40faf46 commit 87e2f1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions arch/x86/lib/getuser_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions arch/x86/lib/getuser_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 87e2f1e

Please sign in to comment.