Skip to content

Commit 43403ea

Browse files
author
Al Viro
committed
mn10300: failing __get_user() and get_user() should zero
Cc: [email protected] Signed-off-by: Al Viro <[email protected]>
1 parent e69d700 commit 43403ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/mn10300/include/asm/uaccess.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ struct __large_struct { unsigned long buf[100]; };
166166
"2:\n" \
167167
" .section .fixup,\"ax\"\n" \
168168
"3:\n\t" \
169+
" mov 0,%1\n" \
169170
" mov %3,%0\n" \
170171
" jmp 2b\n" \
171172
" .previous\n" \

0 commit comments

Comments
 (0)