]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
MN10300: Fix __put_user_asm8()
authorAkira Takeuchi <takeuchi.akr@jp.panasonic.com>
Wed, 10 Dec 2008 12:43:34 +0000 (12:43 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 10 Dec 2008 21:34:33 +0000 (13:34 -0800)
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>
include/asm-mn10300/uaccess.h

index 46b9b647f3c3864540a9a44411f91b9881c0028f..8a3a4dd55763eba744552c46c825831569e90610 100644 (file)
@@ -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"             \