about summary refs log tree commit diff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-03-19 14:54:35 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-03-19 14:54:35 -0700
commit4adaaafc9e0909107bb931d28fc2c48ce0a4de05 (patch)
treef73c52be6e9077d79d916006c4c5c178f8e87326 /nptl/sysdeps
parentca7b8af5dbd23ecb9549228075327ae6d547d206 (diff)
downloadglibc-4adaaafc9e0909107bb931d28fc2c48ce0a4de05.tar.gz
glibc-4adaaafc9e0909107bb931d28fc2c48ce0a4de05.tar.xz
glibc-4adaaafc9e0909107bb931d28fc2c48ce0a4de05.zip
Use __NR_futex to define SYS_futex
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
index ab7ca6ae9e..dada21c2a5 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
@@ -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