diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-08-20 16:32:02 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-13 17:49:42 -0400 |
commit | 43403eabf558d2800b429cd886e996fd555aa542 (patch) | |
tree | c49c666ca3a656709d7decc95163cb0c1b01df38 /arch/mn10300 | |
parent | e69d700535ac43a18032b3c399c69bf4639e89a2 (diff) | |
download | linux-43403eabf558d2800b429cd886e996fd555aa542.tar.bz2 |
mn10300: failing __get_user() and get_user() should zero
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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 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" \ |