Skip to content

Commit

Permalink
MN10300: Fix __put_user_asm8()
Browse files Browse the repository at this point in the history
Fix __put_user_asm8() by jumping to the end label (3:) from the exception
handler, rather than jumping back to retry the second store instruction (label
2:).

Signed-off-by: Akira Takeuchi <takeuchi.akr@jp.panasonic.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Akira Takeuchi authored and torvalds committed Dec 10, 2008
1 parent 24646bd commit 54b71fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-mn10300/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ extern int __get_user_unknown(void);
" .section .fixup,\"ax\" \n" \
"4: \n" \
" mov %5,%0 \n" \
" jmp 2b \n" \
" jmp 3b \n" \
" .previous \n" \
" .section __ex_table,\"a\"\n" \
" .balign 4 \n" \
Expand Down

0 comments on commit 54b71fb

Please sign in to comment.