about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2014-04-29 02:38:50 -0400
committerCarlos O'Donell <carlos@systemhalted.org>2014-04-29 02:41:44 -0400
commit810789aed026442f8f3ba13877d01fd5bee8720f (patch)
treec1ea709eba135262febdf96fc8eb1f45a5e53569
parentb86699bf4ff38ec815498d5c785a0e52473cc7f5 (diff)
downloadglibc-810789aed026442f8f3ba13877d01fd5bee8720f.tar.gz
glibc-810789aed026442f8f3ba13877d01fd5bee8720f.tar.xz
glibc-810789aed026442f8f3ba13877d01fd5bee8720f.zip
hppa: Use lll_futex_wake.
The lll_private_futex_wake function no longer exists. Instead use
lll_futex_make with LLL_PRIVATE as the last argument.
-rw-r--r--ports/ChangeLog.hppa3
-rw-r--r--ports/sysdeps/hppa/nptl/tls.h2
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() \