diff options
| author | Akira Takeuchi <takeuchi.akr@jp.panasonic.com> | 2008-12-10 07:43:34 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-10 16:34:33 -0500 |
| commit | 54b71fba68efbf3ab89721a384df2ce757750979 (patch) | |
| tree | 71c0423e9aa73d12e07539ae31a5e3e544cd6b24 | |
| parent | 24646bd2269fbca95367bfd3eafbc9f7ade2e980 (diff) | |
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>
| -rw-r--r-- | include/asm-mn10300/uaccess.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mn10300/uaccess.h b/include/asm-mn10300/uaccess.h index 46b9b647f3c3..8a3a4dd55763 100644 --- a/include/asm-mn10300/uaccess.h +++ b/include/asm-mn10300/uaccess.h | |||
| @@ -266,7 +266,7 @@ extern int __get_user_unknown(void); | |||
| 266 | " .section .fixup,\"ax\" \n" \ | 266 | " .section .fixup,\"ax\" \n" \ |
| 267 | "4: \n" \ | 267 | "4: \n" \ |
| 268 | " mov %5,%0 \n" \ | 268 | " mov %5,%0 \n" \ |
| 269 | " jmp 2b \n" \ | 269 | " jmp 3b \n" \ |
| 270 | " .previous \n" \ | 270 | " .previous \n" \ |
| 271 | " .section __ex_table,\"a\"\n" \ | 271 | " .section __ex_table,\"a\"\n" \ |
| 272 | " .balign 4 \n" \ | 272 | " .balign 4 \n" \ |
