summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-06-24 20:03:40 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-09 09:14:08 +0200
commit770546b99fb99e71a3aa4181980d42664f9c18bd (patch)
tree46339e76339c08a4ab0513840af18ef42f5b178a /include
parentx86: user put_user_x instead of all variants. (diff)
downloadlinux-770546b99fb99e71a3aa4181980d42664f9c18bd.tar.xz
linux-770546b99fb99e71a3aa4181980d42664f9c18bd.zip
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')
-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);
asm volatile("call __put_user_" #size \
:"=a" (ret) \
:"c" (ptr),"d" (x) \
- :"r8")
+ :"ebx")
#define put_user(x, ptr) \
__put_user_check((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr)))