From: Glauber Costa Date: Wed, 25 Jun 2008 14:48:29 +0000 (-0300) Subject: x86: merge __put_user_asm and its user. X-Git-Tag: v2.6.27-rc1~1106^2~46^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc70ddf4098de043ac52f623c7573a11f2ae3d09;p=pandora-kernel.git x86: merge __put_user_asm and its user. Move both __put_user_asm and __put_user_size to uaccess.h. i386 already had a special function for 64-bit access, so for x86_64, we just define a macro with the same name. Note that for X86_64, CONFIG_X86_WP_WORKS_OK will always be defined, so the #else part will never be even compiled in. Signed-off-by: Glauber Costa Signed-off-by: H. Peter Anvin Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed