commit | dc70ddf4098de043ac52f623c7573a11f2ae3d09 | [log] [tgz] |
---|---|---|
author | Glauber Costa <gcosta@redhat.com> | Wed Jun 25 11:48:29 2008 -0300 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Jul 09 09:14:22 2008 +0200 |
tree | 0641f33c243a7d1feec051670cdced9ffec36535 | |
parent | d42e6af613375be7a9a431628ecd742e87230554 [diff] |
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 <gcosta@redhat.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>