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:
Steve Ellcey 2014-11-21 23:25:51 +00:00 committed by Steve Ellcey
parent 64bec774ed
commit c8451a46ea
2 changed files with 9 additions and 0 deletions

View File

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

View File

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