diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2009-07-19 18:06:35 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-07-20 20:46:17 -0700 |
commit | 155b73529583c38f30fd394d692b15a893960782 (patch) | |
tree | bdfb0b7d0d856c66b11ee4883d89a7abdb2b47c4 /arch/x86/include/asm/uaccess.h | |
parent | 77f32dfdd97857280ae1ebac64382ff082cd7ea0 (diff) |
x86: Fix movq immediate operand constraints in uaccess_64.h
arch/x86/include/asm/uaccess_64.h uses wrong asm operand constraint
("ir") for movq insn. Since movq sign-extends its immediate operand,
"er" constraint should be used instead.
Attached patch changes all uses of __put_user_asm in uaccess_64.h to use
"er" when "q" insn suffix is involved.
Patch was compile tested on x86_64 with defconfig.
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: stable@kernel.org
Diffstat (limited to 'arch/x86/include/asm/uaccess.h')
0 files changed, 0 insertions, 0 deletions