mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 21:23:52 +08:00
Use __NR_futex to define SYS_futex
This commit is contained in:
parent
ca7b8af5db
commit
4adaaafc9e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user