This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] Fix ia64 build error in lll_futex_timed_wait_bitset
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Thu, 3 Jul 2014 22:05:06 -0700 (PDT)
- Subject: [COMMITTED PATCH] Fix ia64 build error in lll_futex_timed_wait_bitset
- Authentication-results: sourceware.org; auth=none
Apparently nobody had been testing ia64 with --enable-kernel=recent and
nobody tested lately after the last kernel-features.h cleanup, because
it could never have compiled.
Thanks,
Roland
* sysdeps/unix/sysv/linux/ia64/lowlevellock.h
(lll_futex_timed_wait_bitset): Fix syscall argument count.
--- a/sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h
+++ b/sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h
@@ -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); \