aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/uaccess_64.h
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-06-24 14:03:40 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-09 03:14:08 -0400
commit770546b99fb99e71a3aa4181980d42664f9c18bd (patch)
tree46339e76339c08a4ab0513840af18ef42f5b178a /include/asm-x86/uaccess_64.h
parent70706e432ee5618abf59381101d8dea7b8d97a7d (diff)
x86: clobber rbx in putuser_64.S.
Instead of clobbering r8, clobber rbx, which is the i386 way. 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.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 a2d49078e19c..21fda9ebee13 100644
--- a/include/asm-x86/uaccess_64.h
+++ b/include/asm-x86/uaccess_64.h
@@ -131,7 +131,7 @@ extern void __put_user_bad(void);
131 asm volatile("call __put_user_" #size \ 131 asm volatile("call __put_user_" #size \
132 :"=a" (ret) \ 132 :"=a" (ret) \
133 :"c" (ptr),"d" (x) \ 133 :"c" (ptr),"d" (x) \
134 :"r8") 134 :"ebx")
135 135
136#define put_user(x, ptr) \ 136#define put_user(x, ptr) \
137 __put_user_check((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) 137 __put_user_check((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr)))