aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-06-24 15:59:05 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-09 03:14:11 -0400
commitefea505d83873cfc8a7cdbb8a2a11d2c67467843 (patch)
tree51a88066d621bb5750834f92e36a1d572ffb7963 /arch/x86
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')
-rw-r--r--arch/x86/lib/putuser_32.S28
-rw-r--r--arch/x86/lib/putuser_64.S14
2 files changed, 21 insertions, 21 deletions
diff --git a/arch/x86/lib/putuser_32.S b/arch/x86/lib/putuser_32.S
index 5b2a926f0e28..b67a37cab1b0 100644
--- a/arch/x86/lib/putuser_32.S
+++ b/arch/x86/lib/putuser_32.S
@@ -33,44 +33,44 @@
33.text 33.text
34ENTRY(__put_user_1) 34ENTRY(__put_user_1)
35 ENTER 35 ENTER
36 cmpl TI_addr_limit(%ebx),%ecx 36 cmp TI_addr_limit(%ebx),%ecx
37 jae bad_put_user 37 jae bad_put_user
381: movb %al,(%ecx) 381: movb %al,(%ecx)
39 xorl %eax,%eax 39 xor %eax,%eax
40 EXIT 40 EXIT
41ENDPROC(__put_user_1) 41ENDPROC(__put_user_1)
42 42
43ENTRY(__put_user_2) 43ENTRY(__put_user_2)
44 ENTER 44 ENTER
45 movl TI_addr_limit(%ebx),%ebx 45 mov TI_addr_limit(%ebx),%ebx
46 subl $1,%ebx 46 sub $1,%ebx
47 cmpl %ebx,%ecx 47 cmp %ebx,%ecx
48 jae bad_put_user 48 jae bad_put_user
492: movw %ax,(%ecx) 492: movw %ax,(%ecx)
50 xorl %eax,%eax 50 xor %eax,%eax
51 EXIT 51 EXIT
52ENDPROC(__put_user_2) 52ENDPROC(__put_user_2)
53 53
54ENTRY(__put_user_4) 54ENTRY(__put_user_4)
55 ENTER 55 ENTER
56 movl TI_addr_limit(%ebx),%ebx 56 mov TI_addr_limit(%ebx),%ebx
57 subl $3,%ebx 57 sub $3,%ebx
58 cmpl %ebx,%ecx 58 cmp %ebx,%ecx
59 jae bad_put_user 59 jae bad_put_user
603: movl %eax,(%ecx) 603: movl %eax,(%ecx)
61 xorl %eax,%eax 61 xor %eax,%eax
62 EXIT 62 EXIT
63ENDPROC(__put_user_4) 63ENDPROC(__put_user_4)
64 64
65ENTRY(__put_user_8) 65ENTRY(__put_user_8)
66 ENTER 66 ENTER
67 movl TI_addr_limit(%ebx),%ebx 67 mov TI_addr_limit(%ebx),%ebx
68 subl $7,%ebx 68 sub $7,%ebx
69 cmpl %ebx,%ecx 69 cmp %ebx,%ecx
70 jae bad_put_user 70 jae bad_put_user
714: movl %eax,(%ecx) 714: movl %eax,(%ecx)
725: movl %edx,4(%ecx) 725: movl %edx,4(%ecx)
73 xorl %eax,%eax 73 xor %eax,%eax
74 EXIT 74 EXIT
75ENDPROC(__put_user_8) 75ENDPROC(__put_user_8)
76 76
diff --git a/arch/x86/lib/putuser_64.S b/arch/x86/lib/putuser_64.S
index 6d7513bf885e..c18fc0f5256c 100644
--- a/arch/x86/lib/putuser_64.S
+++ b/arch/x86/lib/putuser_64.S
@@ -39,10 +39,10 @@
39 .text 39 .text
40ENTRY(__put_user_1) 40ENTRY(__put_user_1)
41 ENTER 41 ENTER
42 cmpq TI_addr_limit(%rbx),%rcx 42 cmp TI_addr_limit(%rbx),%rcx
43 jae bad_put_user 43 jae bad_put_user
441: movb %al,(%rcx) 441: movb %al,(%rcx)
45 xorl %eax,%eax 45 xor %eax,%eax
46 EXIT 46 EXIT
47ENDPROC(__put_user_1) 47ENDPROC(__put_user_1)
48 48
@@ -50,10 +50,10 @@ ENTRY(__put_user_2)
50 ENTER 50 ENTER
51 mov TI_addr_limit(%rbx),%rbx 51 mov TI_addr_limit(%rbx),%rbx
52 sub $1, %rbx 52 sub $1, %rbx
53 cmpq %rbx ,%rcx 53 cmp %rbx ,%rcx
54 jae bad_put_user 54 jae bad_put_user
552: movw %ax,(%rcx) 552: movw %ax,(%rcx)
56 xorl %eax,%eax 56 xor %eax,%eax
57 EXIT 57 EXIT
58ENDPROC(__put_user_2) 58ENDPROC(__put_user_2)
59 59
@@ -64,7 +64,7 @@ ENTRY(__put_user_4)
64 cmp %rbx, %rcx 64 cmp %rbx, %rcx
65 jae bad_put_user 65 jae bad_put_user
663: movl %eax,(%rcx) 663: movl %eax,(%rcx)
67 xorl %eax,%eax 67 xor %eax,%eax
68 EXIT 68 EXIT
69ENDPROC(__put_user_4) 69ENDPROC(__put_user_4)
70 70
@@ -75,13 +75,13 @@ ENTRY(__put_user_8)
75 cmp %rbx, %rcx 75 cmp %rbx, %rcx
76 jae bad_put_user 76 jae bad_put_user
774: movq %rax,(%rcx) 774: movq %rax,(%rcx)
78 xorl %eax,%eax 78 xor %eax,%eax
79 EXIT 79 EXIT
80ENDPROC(__put_user_8) 80ENDPROC(__put_user_8)
81 81
82bad_put_user: 82bad_put_user:
83 CFI_STARTPROC 83 CFI_STARTPROC
84 movq $(-EFAULT),%rax 84 mov $(-EFAULT),%rax
85 EXIT 85 EXIT
86END(bad_put_user) 86END(bad_put_user)
87 87