aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-06-24 16:44:39 -0300
committerIngo Molnar <mingo@elte.hu>2008-07-09 09:14:08 +0200
commit0ada3164031162b4e1b7ff6b36ba8cc80ff7fe96 (patch)
tree630d8811b1291a37dd1c55786a05997f24c05430 /include
parent770546b99fb99e71a3aa4181980d42664f9c18bd (diff)
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')
-rw-r--r--include/asm-x86/uaccess_64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/uaccess_64.h b/include/asm-x86/uaccess_64.h
index 21fda9ebee1..f822a36cc1c 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) \