From patchwork Fri Jul 4 05:05:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland McGrath X-Patchwork-Id: 1918 Received: (qmail 30861 invoked by alias); 4 Jul 2014 05:05:15 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 30829 invoked by uid 89); 4 Jul 2014 05:05:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: topped-with-meat.com MIME-Version: 1.0 From: Roland McGrath To: "GNU C. Library" Subject: [COMMITTED PATCH] Fix ia64 build error in lll_futex_timed_wait_bitset Message-Id: <20140704050506.81E4A2C3988@topped-with-meat.com> Date: Thu, 3 Jul 2014 22:05:06 -0700 (PDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=SvUDtp+0 c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=14OXPxybAAAA:8 a=DB_3n748G2UA:10 a=Z6MIti7PxpgA:10 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=lCyYsDUsDh7RPvyKoXwA:9 a=CjuIK1q_8ugA:10 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); \