]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86_64: fix put_user for 64-bit constant
authorRoland McGrath <roland@redhat.com>
Fri, 26 Jan 2007 01:19:51 +0000 (17:19 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 26 Jan 2007 01:50:37 +0000 (17:50 -0800)
commit177c1ff239138d372a40ef1a8f0c63527270e753
treea331a5c7a9796678073fad8e1a5e9dfa053cd6b5
parent655b59d95b281811b47cf96ddee25eee2b225791
[PATCH] x86_64: fix put_user for 64-bit constant

On x86-64, a put_user call using a 64-bit pointer and a constant value that
is > 0xffffffff will produce code that doesn't assemble.  This patch fixes
the asm construct to use the Z constraint for 32-bit constants.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-x86_64/uaccess.h