diff options
-rw-r--r-- | ports/ChangeLog.hppa | 3 | ||||
-rw-r--r-- | ports/sysdeps/hppa/nptl/tls.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ports/ChangeLog.hppa b/ports/ChangeLog.hppa index 105b04aef8..e867a9f337 100644 --- a/ports/ChangeLog.hppa +++ b/ports/ChangeLog.hppa @@ -1,5 +1,8 @@ 2014-04-29 Carlos O'Donell <carlos@systemhalted.org> + * sysdeps/hppa/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Use + lll_futex_wake. + * sysdeps/hppa/__longjmp.c (__longjmp): Use r25 as second arg to simplify generated assembly. diff --git a/ports/sysdeps/hppa/nptl/tls.h b/ports/sysdeps/hppa/nptl/tls.h index 38132b0bb1..1933910357 100644 --- a/ports/sysdeps/hppa/nptl/tls.h +++ b/ports/sysdeps/hppa/nptl/tls.h @@ -153,7 +153,7 @@ static inline void __set_cr27(struct pthread *cr27) = atomic_exchange_rel (&THREAD_SELF->header.gscope_flag, \ THREAD_GSCOPE_FLAG_UNUSED); \ if (__res == THREAD_GSCOPE_FLAG_WAIT) \ - lll_private_futex_wake (&THREAD_SELF->header.gscope_flag, 1); \ + lll_futex_wake (&THREAD_SELF->header.gscope_flag, 1, LLL_PRIVATE); \ } \ while (0) #define THREAD_GSCOPE_SET_FLAG() \ |