Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98F94C433F5 for ; Fri, 10 Dec 2021 00:00:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234804AbhLJADj (ORCPT ); Thu, 9 Dec 2021 19:03:39 -0500 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:11374 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233208AbhLJADi (ORCPT ); Thu, 9 Dec 2021 19:03:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1639094404; x=1670630404; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=nl5CWwCo+HyJCS82sRYKOmxVIBP7Goz/nQOWZ6792B8=; b=RQAUpybnHK8q1ReG6Oeem0uWctJGYzMz57RxAH5K7KXZBlZEn7vMwpxm abL6Rh/GMkl/qjDU9W1pIzvpNQcdKFEd3zYstLthuFDhb+vBoS4Ctq8wc 6mB5GvwvoDeGz10OgNroK/+vNXAP3g4emn5HEZUZenaHYuyheilFu9Z47 gD+3fxFjlHXDuUgJKXt/LnO1BtrsM8HJaMFBxT55z54hrlF+4enKaVsu7 MOcXGs31v8yfx6EOnZURarLCeszdhbUyPvKo9BuY9F/RVMT+JmPltfSKf kz1DezjfY2pMlYJlay0Z9o31Vj67J5+Yb3TeBlY9qcBYtkSL8xzS8AF6M w==; X-IronPort-AV: E=Sophos;i="5.88,194,1635177600"; d="scan'208";a="192670756" Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 10 Dec 2021 08:00:03 +0800 IronPort-SDR: iTVV6yXHc+atfqASjfhL1cOEzZGsXmwCFhMBiTzqjfMXvHQpmp/VEtxbA/l4mny9lqzi3twBpG cqmtIRiwlPPVMTrMDmpPl0n5NPsXeCvewJ6x4LiPyB+dsrRVEWje9ano8JMb2+SXtLg46AZ1hH Tuv9yhRDBJFkgtmyLzo3AYikSdKRA7bdUHmBNPX7mLdlpFiZPclI4S9nFFvDNk/0oQnmTDSA7Z +BKTTYrmWS5WkZ66igmwFxuVzqxO4Q/NnyyDlM++QYUSI1gNadr74eV6oLwMYLueyaetEWQ79r y2rfDUY73cRsGem7eeIHENY3 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2021 15:34:36 -0800 IronPort-SDR: g38Gz2KtzUmi7qqJ4q4+O4VEGkmZjMdKSpmei+dkeIYivoOTe46AEUoJpOCbx35lnzpVB5oYwe RxoDMtM2A8ofp5KKeo0Flo1Rk3Sw5ODlX+mVv6yJwrOuJtkSVAvSobtkMh8iEXny0quIEjJ+T4 8tEsIeamWXOdr9E+nVPq6bVqYcuOwP9MyKSNGSwcarPHNGs8HJDu5KsrxQcdFwwPbQDJsupHPg q9dZwMf4SMedb3bHsx4KGILzeG7NHXmhwt9jPgpHnN0n3E/3Wm1wn84iDN0l2qkama/kOTE0l6 njM= WDCIronportException: Internal Received: from usg-ed-osssrv.wdc.com ([10.3.10.180]) by uls-op-cesaip02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2021 16:00:05 -0800 Received: from usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTP id 4J99yC4mgsz1Rwvd for ; Thu, 9 Dec 2021 16:00:03 -0800 (PST) Authentication-Results: usg-ed-osssrv.wdc.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=opensource.wdc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= opensource.wdc.com; h=content-transfer-encoding:mime-version :references:in-reply-to:x-mailer:message-id:date:subject:to :from; s=dkim; t=1639094402; x=1641686403; bh=nl5CWwCo+HyJCS82sR YKOmxVIBP7Goz/nQOWZ6792B8=; b=o2lfcKC8VYsfqVvTNNfLmya14x8mJpM1Tg eGt2Yea3le2cpBSSLjD9ps4whWUQxyQSth9i02HGs2qORO5q9i1oQD8LAR/gqosh mTUvxbHa87+us5siyYm+vW0XDP32fRNt7zHLqRm3cv66vhX7gseZu1Ki08awR+PS GSBLWpGem852c7SY5ulYvhjsTbQcrunxOdrcTa6xYMncJrVWdYz74vB6RLCz24EN EZ/8xfG48eZzamZmNmS0xqQJ+ewHlQZLItKkAFCIrXmlvuAuyD2tOnFh2Ly1sUGw LWPfWw5t/j0zFLKUNvb5s3AbpD9yKVLrGJ+/Kd6+JGHPCHTkwE5A== X-Virus-Scanned: amavisd-new at usg-ed-osssrv.wdc.com Received: from usg-ed-osssrv.wdc.com ([127.0.0.1]) by usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wzkzpMPB1ll0 for ; Thu, 9 Dec 2021 16:00:02 -0800 (PST) Received: from localhost.localdomain (unknown [10.225.165.65]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTPSA id 4J99y31XPdz1Rwvl; Thu, 9 Dec 2021 15:59:54 -0800 (PST) From: Alistair Francis To: linux-kernel@vger.kernel.org Cc: dave@stgolabs.net, dvhart@infradead.org, arnd@arndb.de, alistair23@gmail.com, namhyung@kernel.org, acme@kernel.org, jolsa@redhat.com, linux-perf-users@vger.kernel.org, alexander.shishkin@linux.intel.com, mark.rutland@arm.com, mingo@redhat.com, peterz@infradead.org, tglx@linutronix.de, Alistair Francis Subject: [PATCH v5 6/6] selftests: futex: Use futex_waitv helper function Date: Fri, 10 Dec 2021 09:58:57 +1000 Message-Id: <20211209235857.423773-6-alistair.francis@opensource.wdc.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211209235857.423773-1-alistair.francis@opensource.wdc.com> References: <20211209235857.423773-1-alistair.francis@opensource.wdc.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alistair Francis Use the publically exposed __kernel_futex_syscall_waitv() helper function for the futex_waitv tests. Signed-off-by: Alistair Francis --- tools/testing/selftests/futex/include/futex2test.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/futex/include/futex2test.h b/tools/t= esting/selftests/futex/include/futex2test.h index 9d305520e849..fdc0a0a270cd 100644 --- a/tools/testing/selftests/futex/include/futex2test.h +++ b/tools/testing/selftests/futex/include/futex2test.h @@ -5,6 +5,7 @@ * Copyright 2021 Collabora Ltd. */ #include +#include =20 #define u64_to_ptr(x) ((void *)(uintptr_t)(x)) =20 @@ -18,5 +19,5 @@ static inline int futex_waitv(volatile struct futex_waitv *waiters, unsi= gned long nr_waiters, unsigned long flags, struct timespec *timo, clockid_t clockid) { - return syscall(__NR_futex_waitv, waiters, nr_waiters, flags, timo, cloc= kid); + return __kernel_futex_syscall_waitv(waiters, nr_waiters, flags, timo, c= lockid); } --=20 2.31.1