Use __NR_futex to define SYS_futex

This commit is contained in:
H.J. Lu 2012-03-19 14:54:35 -07:00
parent ca7b8af5db
commit 4adaaafc9e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
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

View file

@ -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