From: Al Viro Date: Sat, 20 Aug 2016 20:32:02 +0000 (-0400) Subject: mn10300: failing __get_user() and get_user() should zero X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43403eabf558d2800b429cd886e996fd555aa542;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mn10300: failing __get_user() and get_user() should zero Cc: stable@vger.kernel.org Signed-off-by: Al Viro --- diff --git a/arch/mn10300/include/asm/uaccess.h b/arch/mn10300/include/asm/uaccess.h index 20f7bf6de384..d012e877a95a 100644 --- a/arch/mn10300/include/asm/uaccess.h +++ b/arch/mn10300/include/asm/uaccess.h @@ -166,6 +166,7 @@ struct __large_struct { unsigned long buf[100]; }; "2:\n" \ " .section .fixup,\"ax\"\n" \ "3:\n\t" \ + " mov 0,%1\n" \ " mov %3,%0\n" \ " jmp 2b\n" \ " .previous\n" \