diff options
Diffstat (limited to 'libpthread/sysdeps/viengoos/pt-thread-start.c')
-rw-r--r-- | libpthread/sysdeps/viengoos/pt-thread-start.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libpthread/sysdeps/viengoos/pt-thread-start.c b/libpthread/sysdeps/viengoos/pt-thread-start.c index 41d0fbf..5a3867d 100644 --- a/libpthread/sysdeps/viengoos/pt-thread-start.c +++ b/libpthread/sysdeps/viengoos/pt-thread-start.c @@ -33,7 +33,7 @@ __pthread_thread_start (struct __pthread *thread) /* The main thread is already running of course. */ { assert (__pthread_total == 1); - assert (l4_is_thread_equal (l4_myself (), thread->threadid)); + assert (hurd_myself () == thread->threadid); } else { @@ -46,10 +46,10 @@ __pthread_thread_start (struct __pthread *thread) vg_addr_t activity = VG_ADDR_VOID; - in.sp = (l4_word_t) thread->mcontext.sp; - in.ip = (l4_word_t) thread->mcontext.pc; + in.sp = (uintptr_t) thread->mcontext.sp; + in.ip = (uintptr_t) thread->mcontext.pc; - in.user_handle = (l4_word_t) thread; + in.user_handle = (uintptr_t) thread; err = vg_thread_exregs (VG_ADDR_VOID, thread->object, VG_EXREGS_SET_ASPACE | VG_EXREGS_SET_ACTIVITY |