x86: Fix movq immediate operand constraints in uaccess.h
commit7de184f1743320a092f8831853b603a474606f13
authorH. Peter Anvin <hpa@zytor.com>
Tue, 21 Jul 2009 06:27:39 +0000 (20 23:27 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Jul 2009 21:40:03 +0000 (30 14:40 -0700)
tree867b7ec0912fc9dd7292637bb25833c4dfcb1cfd
parent105010723459c496c1c0e1dc3a6fd8f2e6288703
x86: Fix movq immediate operand constraints in uaccess.h

commit ebe119cd0929df4878f758ebf880cb435e4dcaaf upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/include/asm/uaccess.h