diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-06-24 14:03:40 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-09 03:14:08 -0400 |
commit | 770546b99fb99e71a3aa4181980d42664f9c18bd (patch) | |
tree | 46339e76339c08a4ab0513840af18ef42f5b178a /include/asm-x86/uaccess_64.h | |
parent | 70706e432ee5618abf59381101d8dea7b8d97a7d (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.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); | |||
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))) |