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-267-g97ccb9d


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  97ccb9d55a5379eeea6988f26e7f3ad500af0991 (commit)
       via  ccdef322b865e804d08b368cf75601897e2c57f1 (commit)
      from  41f49342e9c262aa0dc7255108b55f19bf742e77 (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=97ccb9d55a5379eeea6988f26e7f3ad500af0991

commit 97ccb9d55a5379eeea6988f26e7f3ad500af0991
Author: Richard Henderson <rth@twiddle.net>
Date:   Wed Feb 20 16:57:55 2013 -0800

    Add FUTEX_*_REQUEUE_PI support for Alpha.

diff --git a/ports/ChangeLog.alpha b/ports/ChangeLog.alpha
index 9cd2076..2814559 100644
--- a/ports/ChangeLog.alpha
+++ b/ports/ChangeLog.alpha
@@ -1,3 +1,13 @@
+2013-02-19  Richard Henderson  <rth@redhat.com>
+
+	[BZ #14920]
+	* sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h
+	(FUTEX_WAIT_REQUEUE_PI): Define.
+	(FUTEX_CMP_REQUEUE_PI): Likewise.
+	(lll_futex_wait_requeue_pi): Likewise.
+	(lll_futex_timed_wait_requeue_pi): Likewise.
+	(lll_futex_cmp_requeue_pi): Likewise.
+
 2013-02-20  Richard Henderson  <rth@redhat.com>
 
 	* sysdeps/unix/alpha/sysdep.h: Include <errno.h>.
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h b/ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h
index e50324c..cf6b8bf 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h
+++ b/ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h
@@ -38,6 +38,8 @@
 #define FUTEX_TRYLOCK_PI	8
 #define FUTEX_WAIT_BITSET	9
 #define FUTEX_WAKE_BITSET	10
+#define FUTEX_WAIT_REQUEUE_PI   11
+#define FUTEX_CMP_REQUEUE_PI    12
 #define FUTEX_PRIVATE_FLAG	128
 #define FUTEX_CLOCK_REALTIME	256
 
@@ -143,8 +145,31 @@
     INTERNAL_SYSCALL_ERROR_P (__ret, __err);				      \
   })
 
+/* Priority Inheritance support.  */
+#define lll_futex_wait_requeue_pi(futexp, val, mutex, private) \
+  lll_futex_timed_wait_requeue_pi (futexp, val, NULL, 0, mutex, private)
 
+#define lll_futex_timed_wait_requeue_pi(futexp, val, timespec, clockbit,      \
+					mutex, private)			      \
+  ({									      \
+    INTERNAL_SYSCALL_DECL (__err);					      \
+    int __op = FUTEX_WAIT_REQUEUE_PI | clockbit;			      \
+									      \
+    INTERNAL_SYSCALL (futex, __err, 5, (futexp),			      \
+		      __lll_private_flag (__op, private),		      \
+		      (val), (timespec), mutex); 			      \
+  })
 
+#define lll_futex_cmp_requeue_pi(futexp, nr_wake, nr_move, mutex, val, priv)  \
+  ({									      \
+    INTERNAL_SYSCALL_DECL (__err);					      \
+    long int __ret;							      \
+									      \
+    __ret = INTERNAL_SYSCALL (futex, __err, 6, (futexp),		      \
+			      __lll_private_flag (FUTEX_CMP_REQUEUE_PI, priv),\
+			      (nr_wake), (nr_move), (mutex), (val));	      \
+    INTERNAL_SYSCALL_ERROR_P (__ret, __err);				      \
+  })
 
 static inline int __attribute__((always_inline))
 __lll_trylock(int *futex)

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

commit ccdef322b865e804d08b368cf75601897e2c57f1
Author: Richard Henderson <rth@twiddle.net>
Date:   Wed Feb 20 16:49:25 2013 -0800

    alpha: Include errno.h in sysdep.h
    
    Recent changes in malloc-sysdep.h exposed this error, the
    symptom being __set_errno was not defined early enough.

diff --git a/ports/ChangeLog.alpha b/ports/ChangeLog.alpha
index 0ac8add..9cd2076 100644
--- a/ports/ChangeLog.alpha
+++ b/ports/ChangeLog.alpha
@@ -1,3 +1,7 @@
+2013-02-20  Richard Henderson  <rth@redhat.com>
+
+	* sysdeps/unix/alpha/sysdep.h: Include <errno.h>.
+
 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
 	* sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Add
diff --git a/ports/sysdeps/unix/alpha/sysdep.h b/ports/sysdeps/unix/alpha/sysdep.h
index 3b71a5e..d20bcd6 100644
--- a/ports/sysdeps/unix/alpha/sysdep.h
+++ b/ports/sysdeps/unix/alpha/sysdep.h
@@ -161,6 +161,9 @@ __LABEL(name)						\
 
 #else /* !ASSEMBLER */
 
+/* In order to get __set_errno() definition in INLINE_SYSCALL.  */
+#include <errno.h>
+
 /* ??? Linux needs to be able to override INLINE_SYSCALL for one
    particular special case.  Make this easy.  */
 

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

Summary of changes:
 ports/ChangeLog.alpha                              |   14 +++++++++++
 ports/sysdeps/unix/alpha/sysdep.h                  |    3 ++
 .../unix/sysv/linux/alpha/nptl/lowlevellock.h      |   25 ++++++++++++++++++++
 3 files changed, 42 insertions(+), 0 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]