]> sourceware.org Git - glibc.git/commitdiff
Use __NR_futex to define SYS_futex
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 19 Mar 2012 21:54:35 +0000 (14:54 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 19 Mar 2012 21:54:35 +0000 (14:54 -0700)
nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h

index 2e81dfcc291a8f90aaadceb732d82452e66bd03a..ad4725f4227ed36086ddb80c85f58dff957114a9 100644 (file)
@@ -1,3 +1,8 @@
+2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (SYS_futex): Use
+       __NR_futex directly.
+
 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
 
        * unwind.c (unwind_stop): Cast _Unwind_GetCFA return to
index ab7ca6ae9e1ca0feb2e507968872dafdf2cae9f8..dada21c2a59ae4a0b6582f463a487f65fa90df53 100644 (file)
@@ -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
This page took 0.052425 seconds and 5 git commands to generate.