aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib/putuser_64.S
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-06-24 16:59:05 -0300
committerIngo Molnar <mingo@elte.hu>2008-07-09 09:14:11 +0200
commitefea505d83873cfc8a7cdbb8a2a11d2c67467843 (patch)
tree51a88066d621bb5750834f92e36a1d572ffb7963 /arch/x86/lib/putuser_64.S
parent766ed4282114eab616741107745b0dd11075e496 (diff)
x86: don't use word-size specifiers in putuser files.
Remove them where unambiguous. 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/putuser_64.S')
-rw-r--r--arch/x86/lib/putuser_64.S14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/x86/lib/putuser_64.S b/arch/x86/lib/putuser_64.S
index 6d7513bf885..c18fc0f5256 100644
--- a/arch/x86/lib/putuser_64.S
+++ b/arch/x86/lib/putuser_64.S
@@ -39,10 +39,10 @@
.text
ENTRY(__put_user_1)
ENTER
- cmpq TI_addr_limit(%rbx),%rcx
+ cmp TI_addr_limit(%rbx),%rcx
jae bad_put_user
1: movb %al,(%rcx)
- xorl %eax,%eax
+ xor %eax,%eax
EXIT
ENDPROC(__put_user_1)
@@ -50,10 +50,10 @@ ENTRY(__put_user_2)
ENTER
mov TI_addr_limit(%rbx),%rbx
sub $1, %rbx
- cmpq %rbx ,%rcx
+ cmp %rbx ,%rcx
jae bad_put_user
2: movw %ax,(%rcx)
- xorl %eax,%eax
+ xor %eax,%eax
EXIT
ENDPROC(__put_user_2)
@@ -64,7 +64,7 @@ ENTRY(__put_user_4)
cmp %rbx, %rcx
jae bad_put_user
3: movl %eax,(%rcx)
- xorl %eax,%eax
+ xor %eax,%eax
EXIT
ENDPROC(__put_user_4)
@@ -75,13 +75,13 @@ ENTRY(__put_user_8)
cmp %rbx, %rcx
jae bad_put_user
4: movq %rax,(%rcx)
- xorl %eax,%eax
+ xor %eax,%eax
EXIT
ENDPROC(__put_user_8)
bad_put_user:
CFI_STARTPROC
- movq $(-EFAULT),%rax
+ mov $(-EFAULT),%rax
EXIT
END(bad_put_user)