From: Aurelien Jarno Date: Mon, 13 Jul 2009 21:57:18 +0000 (+0200) Subject: * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Define X-Git-Tag: glibc-2.16-ports-before-merge~606 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cb716ea2c79bf98bef150961c999622fd83e208;p=thirdparty%2Fglibc.git * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Define FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY. --- diff --git a/ChangeLog.alpha b/ChangeLog.alpha index cc7e059f1e1..d2cedc55d21 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -4,6 +4,11 @@ * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER): Change parameters and use next_line. + [BZ #10160] + * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Define + FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME and + FUTEX_BITSET_MATCH_ANY. + 2008-11-26 Roland McGrath * sysdeps/unix/sysv/linux/alpha/wordexp.c: Contents moved to main diff --git a/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h b/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h index 93188234cb2..7903745c22c 100644 --- a/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h +++ b/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h @@ -37,7 +37,12 @@ #define FUTEX_LOCK_PI 6 #define FUTEX_UNLOCK_PI 7 #define FUTEX_TRYLOCK_PI 8 +#define FUTEX_WAIT_BITSET 9 +#define FUTEX_WAKE_BITSET 10 #define FUTEX_PRIVATE_FLAG 128 +#define FUTEX_CLOCK_REALTIME 256 + +#define FUTEX_BITSET_MATCH_ANY 0xffffffff /* Values for 'private' parameter of locking macros. Yes, the definition seems to be backwards. But it is not. The bit will be