projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e69d700
)
mn10300: failing __get_user() and get_user() should zero
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 20 Aug 2016 20:32:02 +0000
(16:32 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 13 Sep 2016 21:49:42 +0000
(17:49 -0400)
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/mn10300/include/asm/uaccess.h
patch
|
blob
|
history
diff --git
a/arch/mn10300/include/asm/uaccess.h
b/arch/mn10300/include/asm/uaccess.h
index 20f7bf6de384d06d5beebaeb216d2e6d4f675350..d012e877a95a02993ab57f9b7e6d73f767978344 100644
(file)
--- 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" \