Message ID | 9cfff1a1ae34253a2cb4a2a416375d25fc31e75b.1578824547.git.alistair.francis@wdc.com |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-return-108594-incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-108594-incoming=patchwork.ozlabs.org@sourceware.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=wdc.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha1 header.s=default header.b=PBD1gzZ9; dkim=pass (2048-bit key; unprotected) header.d=wdc.com header.i=@wdc.com header.a=rsa-sha256 header.s=dkim.wdc.com header.b=FSaZ/5mE; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47wYCH2cvkz9sP6 for <incoming@patchwork.ozlabs.org>; Sun, 12 Jan 2020 21:40:27 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; q=dns; s= default; b=DGUKHe1fWQ1KgVb1oxQ1mjOq2EJDZo5VwQgQJqcGzg4ZVieCr0JMu K0jgRGftqrb48BYACET2+d4kNT8p6qwxDD3KlVi0Fc/n7wQmiAtPxMaz7lVJLXVm 8/2ud3LC/FurxSkU5WVSXNfRJl33UiODQGa158Aaqyk4EsBDEEAC/8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; s=default; bh=bdAJS7O/rvvrivpJu/rP2ESgoDk=; b=PBD1gzZ9+55FokaTpmbvB6feELaM kwZtybSOFRjrYkPFD7GiapMVbaujPEK++INJaLZqPAgQypbSxs1wSrmeoQRM2hKO GoNf6MRx1NAgaPVV3qNl9rd/Pa79lzYPOLEuMJwkhjk7SXw+8BdkFgbtiIHV3VMl VAR4GS6MDhb42Do= Received: (qmail 8718 invoked by alias); 12 Jan 2020 10:40:06 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <libc-alpha.sourceware.org> List-Unsubscribe: <mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org> List-Subscribe: <mailto:libc-alpha-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-help@sourceware.org>, <http://sourceware.org/ml/#faqs> Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 8625 invoked by uid 89); 12 Jan 2020 10:40:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: esa6.hgst.iphmx.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1578825604; x=1610361604; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1/9ryWFAi728pj9eV7LMBco+1I5Fy6F70cvzYh1DQoQ=; b=FSaZ/5mEguYuu3fgr21+B6WoaAvEiq0UsM9TkhOoqlLIQFIRHcIZQciS 4VUVv2PR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R3qSev+lzrIJa1MkqOj9 4HBzygdvSI7Ep48YfxZp6MjoXQfk8zA1UxeiS1Ta+h05YiNzixU57EjznrDOiEBjdWvMGb6Wpu IFenL3JKrwhfR1suL550zEqPcPCMC7I8ZsbxsMMEiN3y31xyxDeb5ZOfD6WYNPSkSAxhNPSX0N vcY= WDCIronportException: Internal From: Alistair Francis <alistair.francis@wdc.com> To: libc-alpha@sourceware.org Cc: arnd@arndb.de, adhemerval.zanella@linaro.org, fweimer@redhat.com, joseph@codesourcery.com, palmerdabbelt@google.com, macro@wdc.com, zongbox@gmail.com, alistair.francis@wdc.com, alistair23@gmail.com Subject: [RFC v6 02/23] tst-clone3: Use __NR_futex_time64 if we don't have __NR_futex Date: Sun, 12 Jan 2020 02:33:36 -0800 Message-Id: <9cfff1a1ae34253a2cb4a2a416375d25fc31e75b.1578824547.git.alistair.francis@wdc.com> In-Reply-To: <cover.1578824547.git.alistair.francis@wdc.com> References: <cover.1578824547.git.alistair.francis@wdc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
Series |
RISC-V glibc port for the 32-bit
|
expand
|
diff --git a/sysdeps/unix/sysv/linux/tst-clone3.c b/sysdeps/unix/sysv/linux/tst-clone3.c index 400eb89a5b..613cb4a811 100644 --- a/sysdeps/unix/sysv/linux/tst-clone3.c +++ b/sysdeps/unix/sysv/linux/tst-clone3.c @@ -56,7 +56,11 @@ f (void *a) static inline int futex_wait (int *futexp, int val) { +#ifdef __NR_futex return syscall (__NR_futex, futexp, FUTEX_WAIT, val); +#else + return syscall (__NR_futex_time64, futexp, FUTEX_WAIT, val); +#endif } static int