diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-06-24 20:03:40 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-09 09:14:08 +0200 |
commit | 770546b99fb99e71a3aa4181980d42664f9c18bd (patch) | |
tree | 46339e76339c08a4ab0513840af18ef42f5b178a /include | |
parent | x86: user put_user_x instead of all variants. (diff) | |
download | linux-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.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 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))) |