Fix ia64 build error in lll_futex_timed_wait_bitset
authorRoland McGrath <roland@hack.frob.com>
Fri, 4 Jul 2014 05:03:14 +0000 (22:03 -0700)
committerRoland McGrath <roland@hack.frob.com>
Fri, 4 Jul 2014 05:03:14 +0000 (22:03 -0700)
ChangeLog
sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h

index e3a9b4f..5f12906 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-07-03  Roland McGrath  <roland@hack.frob.com>
 
+       * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
+       (lll_futex_timed_wait_bitset): Fix syscall argument count.
+
        * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
        Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
        in a bare environment with no <stdlib.h> installed.
index 0105972..9d32395 100644 (file)
@@ -95,7 +95,7 @@
 ({                                                                        \
    int __op = FUTEX_WAIT_BITSET | (clockbit);                             \
                                                                           \
-   DO_INLINE_SYSCALL(futex, 4, (long) (ftx),                              \
+   DO_INLINE_SYSCALL(futex, 6, (long) (ftx),                              \
                     __lll_private_flag (__op, private),                   \
                     (int) (val), (long) (timespec), NULL /* Unused.  */,  \
                     FUTEX_BITSET_MATCH_ANY);                              \