summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-06-25 11:35:06 -0300
committerIngo Molnar <mingo@elte.hu>2008-07-09 09:14:20 +0200
commit5e322163b19735fbef3e294c297d38e0d2ba8f7e (patch)
tree7da83fd633d9656c679549b09a7d836c5e45a4ae /include
parent002ca1690c3d0a495e6aedd608281aeb01ce6385 (diff)
downloadlinux-3.10-5e322163b19735fbef3e294c297d38e0d2ba8f7e.tar.gz
linux-3.10-5e322163b19735fbef3e294c297d38e0d2ba8f7e.tar.bz2
linux-3.10-5e322163b19735fbef3e294c297d38e0d2ba8f7e.zip
x86: use k modifier for 4-byte access.
Do it in a separate patch for bisectability. Goal is to have put_user_size integrated. 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>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/uaccess_32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/uaccess_32.h b/include/asm-x86/uaccess_32.h
index 87b1aede9d4..4c47a5ba65e 100644
--- a/include/asm-x86/uaccess_32.h
+++ b/include/asm-x86/uaccess_32.h
@@ -180,7 +180,7 @@ do { \
__put_user_asm(x, ptr, retval, "w", "w", "ir", errret); \
break; \
case 4: \
- __put_user_asm(x, ptr, retval, "l", "", "ir", errret); \
+ __put_user_asm(x, ptr, retval, "l", "k", "ir", errret);\
break; \
case 8: \
__put_user_u64((__typeof__(*ptr))(x), ptr, retval); \