diff options
-rw-r--r-- | lib/libkse/arch/i386/i386/thr_enter_uts.S | 3 | ||||
-rw-r--r-- | lib/libpthread/arch/i386/i386/thr_enter_uts.S | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/libkse/arch/i386/i386/thr_enter_uts.S b/lib/libkse/arch/i386/i386/thr_enter_uts.S index 526fc9e..bf6df8f 100644 --- a/lib/libkse/arch/i386/i386/thr_enter_uts.S +++ b/lib/libkse/arch/i386/i386/thr_enter_uts.S @@ -40,6 +40,5 @@ ENTRY(_i386_enter_uts) addl 16(%edx), %eax /* add length */ movl %eax, %esp /* switch to uts stack */ pushl 4(%edx) /* push the address of the mailbox */ - pushl 8(%edx) /* .. the uts can return to itself */ - pushl 8(%edx) /* .. the uts can return to itself */ + call *8(%edx) ret diff --git a/lib/libpthread/arch/i386/i386/thr_enter_uts.S b/lib/libpthread/arch/i386/i386/thr_enter_uts.S index 526fc9e..bf6df8f 100644 --- a/lib/libpthread/arch/i386/i386/thr_enter_uts.S +++ b/lib/libpthread/arch/i386/i386/thr_enter_uts.S @@ -40,6 +40,5 @@ ENTRY(_i386_enter_uts) addl 16(%edx), %eax /* add length */ movl %eax, %esp /* switch to uts stack */ pushl 4(%edx) /* push the address of the mailbox */ - pushl 8(%edx) /* .. the uts can return to itself */ - pushl 8(%edx) /* .. the uts can return to itself */ + call *8(%edx) ret |