Browse Source

MN10300: Fix __put_user_asm8()

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>
Akira Takeuchi 16 years ago
parent
commit
54b71fba68
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/asm-mn10300/uaccess.h

+ 1 - 1
include/asm-mn10300/uaccess.h

@@ -266,7 +266,7 @@ extern int __get_user_unknown(void);
 		"	.section	.fixup,\"ax\"	\n"		\
 		"	.section	.fixup,\"ax\"	\n"		\
 		"4:					\n"		\
 		"4:					\n"		\
 		"	mov		%5,%0		\n"		\
 		"	mov		%5,%0		\n"		\
-		"	jmp		2b		\n"		\
+		"	jmp		3b		\n"		\
 		"	.previous			\n"		\
 		"	.previous			\n"		\
 		"	.section	__ex_table,\"a\"\n"		\
 		"	.section	__ex_table,\"a\"\n"		\
 		"	.balign		4		\n"		\
 		"	.balign		4		\n"		\