hppa: Use lll_futex_wake.
authorCarlos O'Donell <carlos@systemhalted.org>
Tue, 29 Apr 2014 06:38:50 +0000 (02:38 -0400)
committerCarlos O'Donell <carlos@systemhalted.org>
Tue, 29 Apr 2014 06:41:44 +0000 (02:41 -0400)
The lll_private_futex_wake function no longer exists. Instead use
lll_futex_make with LLL_PRIVATE as the last argument.

ports/ChangeLog.hppa
ports/sysdeps/hppa/nptl/tls.h

index 105b04a..e867a9f 100644 (file)
@@ -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.
 
index 38132b0..1933910 100644 (file)
@@ -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() \