This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.17-231-gdd395cf


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  dd395cf1103ec8e26affcf501791505ded4d31c6 (commit)
      from  1739edf7a5ebb2c16750408dba2f058c09dd4a7d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=dd395cf1103ec8e26affcf501791505ded4d31c6

commit dd395cf1103ec8e26affcf501791505ded4d31c6
Author: Carlos O'Donell <carlos@redhat.com>
Date:   Thu Feb 14 10:34:48 2013 -0500

    hppa: Remove unused lll_unlock_wake_cb.
    
    There hasn't been a use for lll_unlock_wake_cb since it was
    removed globally in 2007-05-29. This patch removes the
    function from hppa's lowlevellock.[ch] implementation.

diff --git a/ports/ChangeLog.hppa b/ports/ChangeLog.hppa
index ef904c2..6314f12 100644
--- a/ports/ChangeLog.hppa
+++ b/ports/ChangeLog.hppa
@@ -1,3 +1,10 @@
+2013-02-14  Carlos O'Donell  <carlos@redhat.com>
+
+	* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c
+	(lll_unlock_wake_cb): Remove.
+	* ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
+	Remove prototype for lll_unlock_wake_cb.
+
 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/hppa/fpu/fpu_control.h (_FPU_GETCW): Use __extension__
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c b/ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c
index 618edf7..af63e1b 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c
+++ b/ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c
@@ -87,17 +87,6 @@ __lll_timedlock_wait (lll_lock_t *futex, const struct timespec *abstime, int pri
 /* These don't get included in libc.so  */
 #ifdef IS_IN_libpthread
 int
-lll_unlock_wake_cb (lll_lock_t *futex)
-{
-  int val = atomic_exchange_rel (futex, 0);
-
-  if (__builtin_expect (val > 1, 0))
-    lll_private_futex_wake (futex, 1);
-  return 0;
-}
-
-
-int
 __lll_timedwait_tid (int *tidp, const struct timespec *abstime)
 {
   int tid;
@@ -134,6 +123,5 @@ __lll_timedwait_tid (int *tidp, const struct timespec *abstime)
 
   return 0;
 }
-
 #endif
 
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h b/ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
index f37a7bb..b88703f 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
+++ b/ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
@@ -317,8 +317,6 @@ __lll_robust_timedlock (int *futex, const struct timespec *abstime,
 #define THREAD_INIT_LOCK(PD, LOCK) \
   (PD)->LOCK = LLL_LOCK_INITIALIZER
 
-extern int lll_unlock_wake_cb (lll_lock_t *__futex) attribute_hidden;
-
 /* The kernel notifies a process which uses CLONE_CHILD_CLEARTID via futex
    wakeup when the clone terminates.  The memory location contains the
    thread ID while the clone is running and is reset to zero

-----------------------------------------------------------------------

Summary of changes:
 ports/ChangeLog.hppa                               |    7 +++++++
 .../unix/sysv/linux/hppa/nptl/lowlevellock.c       |   12 ------------
 .../unix/sysv/linux/hppa/nptl/lowlevellock.h       |    2 --
 3 files changed, 7 insertions(+), 14 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]