diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-06-24 16:44:39 -0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-09 09:14:08 +0200 |
commit | 0ada3164031162b4e1b7ff6b36ba8cc80ff7fe96 (patch) | |
tree | 630d8811b1291a37dd1c55786a05997f24c05430 /include/asm-x86/uaccess_64.h | |
parent | x86: clobber rbx in putuser_64.S. (diff) | |
download | linux-dev-0ada3164031162b4e1b7ff6b36ba8cc80ff7fe96.tar.xz linux-dev-0ada3164031162b4e1b7ff6b36ba8cc80ff7fe96.zip |
x86: pass argument to putuser_64 functions in ax register.
This is consistent with i386 usage.
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 'include/asm-x86/uaccess_64.h')
-rw-r--r-- | include/asm-x86/uaccess_64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/uaccess_64.h b/include/asm-x86/uaccess_64.h index 21fda9ebee13..f822a36cc1c0 100644 --- a/include/asm-x86/uaccess_64.h +++ b/include/asm-x86/uaccess_64.h @@ -130,7 +130,7 @@ extern void __put_user_bad(void); #define __put_user_x(size, ret, x, ptr) \ asm volatile("call __put_user_" #size \ :"=a" (ret) \ - :"c" (ptr),"d" (x) \ + :"c" (ptr),"a" (x) \ :"ebx") #define put_user(x, ptr) \ |