Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e322163 authored by Glauber Costa's avatar Glauber Costa Committed by Ingo Molnar
Browse files

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: default avatarGlauber Costa <gcosta@redhat.com>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 002ca169
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);	\