aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2003-04-29 21:05:17 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2003-04-29 21:05:17 +0000
commita8b5a9cd120e319cacf1c68e4a257e6955e0d5d6 (patch)
tree4741618e508297538ee6ebc8a25f6278169e1a31 /lib
parent6cc13fa9ad7670cb94c89c6f4160fd55840a5a08 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libpthread/arch/i386/i386/thr_switch.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/arch/i386/i386/thr_switch.S b/lib/libpthread/arch/i386/i386/thr_switch.S
index f8da6b62a8020..f9c8b92f46756 100644
--- a/lib/libpthread/arch/i386/i386/thr_switch.S
+++ b/lib/libpthread/arch/i386/i386/thr_switch.S
@@ -57,11 +57,11 @@ ENTRY(_thread_switch)
cmpl $0, %edx /* check for null pointer */
jne 1f
movl $-1, %eax
- jmp 5f
+ jmp 9f
1: cmpl $MC_SIZE, UC_MC_LEN_OFFSET(%edx) /* is context valid? */
je 2f
movl $-1, %eax /* bzzzt, invalid context */
- jmp 5f
+ jmp 9f
2: movl 8(%esp), %ecx /* get address of curthreadp */
movl %edx, %ebx /* save the pointer for later */
/*