diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-08-20 23:32:02 +0300 |
---|---|---|
committer | Sasha Levin <alexander.levin@verizon.com> | 2016-10-06 05:40:20 +0300 |
commit | f17364dd43ea3966bb068f94f40d23613e17aba0 (patch) | |
tree | 0e75c0f99e67d7e1da14969d007984637716d671 /arch/mn10300 | |
parent | c99e37cddc0bdc9e108d0c7e2287248711268fdf (diff) | |
download | linux-f17364dd43ea3966bb068f94f40d23613e17aba0.tar.xz |
mn10300: failing __get_user() and get_user() should zero
[ Upstream commit 43403eabf558d2800b429cd886e996fd555aa542 ]
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'arch/mn10300')
-rw-r--r-- | arch/mn10300/include/asm/uaccess.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mn10300/include/asm/uaccess.h b/arch/mn10300/include/asm/uaccess.h index 537278746a15..4af43d9ba495 100644 --- a/arch/mn10300/include/asm/uaccess.h +++ b/arch/mn10300/include/asm/uaccess.h @@ -181,6 +181,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" \ |