x86: Fix movq immediate operand constraints in uaccess.h
commitebe119cd0929df4878f758ebf880cb435e4dcaaf
authorH. Peter Anvin <hpa@zytor.com>
Tue, 21 Jul 2009 06:27:39 +0000 (20 23:27 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 21 Jul 2009 06:27:39 +0000 (20 23:27 -0700)
treea49e9eea03a557e7d5fe910c94ecd42e9717c3b2
parent155b73529583c38f30fd394d692b15a893960782
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