diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-03-19 14:54:35 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-03-19 14:54:35 -0700 |
commit | 4adaaafc9e0909107bb931d28fc2c48ce0a4de05 (patch) | |
tree | f73c52be6e9077d79d916006c4c5c178f8e87326 /nptl | |
parent | ca7b8af5dbd23ecb9549228075327ae6d547d206 (diff) | |
download | glibc-4adaaafc9e0909107bb931d28fc2c48ce0a4de05.tar glibc-4adaaafc9e0909107bb931d28fc2c48ce0a4de05.tar.gz glibc-4adaaafc9e0909107bb931d28fc2c48ce0a4de05.tar.bz2 glibc-4adaaafc9e0909107bb931d28fc2c48ce0a4de05.zip |
Use __NR_futex to define SYS_futex
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 5 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 2e81dfcc29..ad4725f422 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,10 @@ 2012-03-19 H.J. Lu <hongjiu.lu@intel.com> + * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (SYS_futex): Use + __NR_futex directly. + +2012-03-19 H.J. Lu <hongjiu.lu@intel.com> + * unwind.c (unwind_stop): Cast _Unwind_GetCFA return to _Unwind_Ptr first. diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h index ab7ca6ae9e..dada21c2a5 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h @@ -43,7 +43,7 @@ # endif #endif -#define SYS_futex 202 +#define SYS_futex __NR_futex #define FUTEX_WAIT 0 #define FUTEX_WAKE 1 #define FUTEX_CMP_REQUEUE 4 |