1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/ports-2.10.1/520-alpha-add-futex-defines.patch Sun May 08 14:14:40 2011 +0200
1.3 @@ -0,0 +1,26 @@
1.4 +2009-05-19 Aurelien Jarno <aurelien@aurel32.net>
1.5 +
1.6 + * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Define
1.7 + FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME and
1.8 + FUTEX_BITSET_MATCH_ANY.
1.9 +
1.10 + ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h | 5 +++++
1.11 + 1 file changed, 5 insertions(+)
1.12 +
1.13 +diff -durN glibc-2.10.1.orig/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h glibc-2.10.1/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h
1.14 +--- glibc-2.10.1.orig/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h 2009-05-16 10:36:20.000000000 +0200
1.15 ++++ glibc-2.10.1/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h 2009-11-13 00:51:11.000000000 +0100
1.16 +@@ -37,7 +37,12 @@
1.17 + #define FUTEX_LOCK_PI 6
1.18 + #define FUTEX_UNLOCK_PI 7
1.19 + #define FUTEX_TRYLOCK_PI 8
1.20 ++#define FUTEX_WAIT_BITSET 9
1.21 ++#define FUTEX_WAKE_BITSET 10
1.22 + #define FUTEX_PRIVATE_FLAG 128
1.23 ++#define FUTEX_CLOCK_REALTIME 256
1.24 ++
1.25 ++#define FUTEX_BITSET_MATCH_ANY 0xffffffff
1.26 +
1.27 + /* Values for 'private' parameter of locking macros. Yes, the
1.28 + definition seems to be backwards. But it is not. The bit will be
1.29 +diff -durN glibc-2.10.1.orig/ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h glibc-2.10.1/ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h