futex.h (SYS_futex): Define if not already done.
2014-11-21 Steve Ellcey <sellcey@imgtec.com> * config/linux/mips/futex.h (SYS_futex): Define if not already done. From-SVN: r217952
This commit is contained in:
parent
64bec774ed
commit
c8451a46ea
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2014-11-21 Steve Ellcey <sellcey@imgtec.com>
|
||||
|
||||
* config/linux/mips/futex.h (SYS_futex): Define if not already done.
|
||||
|
||||
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR bootstrap/63784
|
||||
|
|
|
@ -25,6 +25,11 @@
|
|||
/* Provide target-specific access to the futex system call. */
|
||||
|
||||
#include <sys/syscall.h>
|
||||
|
||||
#if !defined (SYS_futex)
|
||||
#define SYS_futex __NR_futex
|
||||
#endif
|
||||
|
||||
#define FUTEX_WAIT 0
|
||||
#define FUTEX_WAKE 1
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue