2014-11-21 Steve Ellcey <sellcey@imgtec.com>
* config/linux/mips/futex.h (SYS_futex): Define if not already done.
From-SVN: r217952
+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
/* 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