From c8451a46ea68a94f2ecf0e9b96273c9781b39f25 Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Fri, 21 Nov 2014 23:25:51 +0000 Subject: [PATCH] futex.h (SYS_futex): Define if not already done. 2014-11-21 Steve Ellcey * config/linux/mips/futex.h (SYS_futex): Define if not already done. From-SVN: r217952 --- libgomp/ChangeLog | 4 ++++ libgomp/config/linux/mips/futex.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index cfb3479b4fb..08425e98ee2 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,7 @@ +2014-11-21 Steve Ellcey + + * config/linux/mips/futex.h (SYS_futex): Define if not already done. + 2014-11-21 H.J. Lu PR bootstrap/63784 diff --git a/libgomp/config/linux/mips/futex.h b/libgomp/config/linux/mips/futex.h index ae32b80569c..7961d32c009 100644 --- a/libgomp/config/linux/mips/futex.h +++ b/libgomp/config/linux/mips/futex.h @@ -25,6 +25,11 @@ /* Provide target-specific access to the futex system call. */ #include + +#if !defined (SYS_futex) +#define SYS_futex __NR_futex +#endif + #define FUTEX_WAIT 0 #define FUTEX_WAKE 1 -- 2.30.2