]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: use k modifier for 4-byte access.
authorGlauber Costa <gcosta@redhat.com>
Wed, 25 Jun 2008 14:35:06 +0000 (11:35 -0300)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 07:14:20 +0000 (09:14 +0200)
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>
include/asm-x86/uaccess_32.h

index 87b1aede9d4b0049914550db5ef9bee8c0e90ad6..4c47a5ba65e39d4de7be794f5e410dfd92a87479 100644 (file)
@@ -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);     \