From: Roland McGrath Date: Fri, 26 Jan 2007 01:19:51 +0000 (-0800) Subject: [PATCH] x86_64: fix put_user for 64-bit constant X-Git-Tag: v2.6.20-rc7~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ad0d383ddbf0d2fce43b8aac267a6c299fd2dff;p=pandora-kernel.git [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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed