]> err.no Git - linux-2.6/commit
x86: wrong register was used in align macro
authorVitaly Mayatskikh <v.mayatskih@gmail.com>
Wed, 30 Jul 2008 11:30:14 +0000 (13:30 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jul 2008 17:10:39 +0000 (10:10 -0700)
commitafd962a9e8708c571c5c0c4a6d098f931742c229
tree7aacbe3bb5e34e2515ad55a73bb87766e604761b
parentbd3e64c1759e4930315ebf022611468ee9621486
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>
arch/x86/lib/copy_user_64.S
arch/x86/lib/copy_user_nocache_64.S