diff options
author | Vitaly Mayatskikh <v.mayatskih@gmail.com> | 2008-07-30 13:30:14 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-30 10:10:39 -0700 |
commit | afd962a9e8708c571c5c0c4a6d098f931742c229 (patch) | |
tree | 7aacbe3bb5e34e2515ad55a73bb87766e604761b /arch/x86/lib/copy_user_64.S | |
parent | bd3e64c1759e4930315ebf022611468ee9621486 (diff) | |
download | lwn-afd962a9e8708c571c5c0c4a6d098f931742c229.tar.gz lwn-afd962a9e8708c571c5c0c4a6d098f931742c229.zip |
x86: wrong register was used in align macro
New ALIGN_DESTINATION macro has sad typo: r8d register was used instead
of ecx in fixup section. This can be considered as a regression.
Register ecx was also wrongly loaded with value in r8d in
copy_user_nocache routine.
Signed-off-by: Vitaly Mayatskikh <v.mayatskih@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/lib/copy_user_64.S')
-rw-r--r-- | arch/x86/lib/copy_user_64.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/copy_user_64.S b/arch/x86/lib/copy_user_64.S index dfdf428975c0..f118c110af32 100644 --- a/arch/x86/lib/copy_user_64.S +++ b/arch/x86/lib/copy_user_64.S @@ -52,7 +52,7 @@ jnz 100b 102: .section .fixup,"ax" -103: addl %r8d,%edx /* ecx is zerorest also */ +103: addl %ecx,%edx /* ecx is zerorest also */ jmp copy_user_handle_tail .previous |