]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Fix movq immediate operand constraints in uaccess.h
authorH. Peter Anvin <hpa@zytor.com>
Tue, 21 Jul 2009 06:27:39 +0000 (23:27 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 21 Jul 2009 06:27:39 +0000 (23:27 -0700)
commit0cfb5685b416b4841f822e9acc75f204af2ac0da
treea49e9eea03a557e7d5fe910c94ecd42e9717c3b2
parent7b62822dabf50648ab815e816656a19009270767
x86: Fix movq immediate operand constraints in uaccess.h

The movq instruction, generated by __put_user_asm() when used for
64-bit data, takes a sign-extended immediate ("e") not a zero-extended
immediate ("Z").

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Uros Bizjak <ubizjak@gmail.com>
Cc: stable@kernel.org
arch/x86/include/asm/uaccess.h