Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp67056pxb; Fri, 17 Sep 2021 19:02:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxD5d0X9FIATD25ikbNaTs/1Q2XBcQZqlUN+jqfSiVvkuBu9fUNt9B68wFp9Oauhbm6FmqK X-Received: by 2002:a17:906:7a09:: with SMTP id d9mr15577984ejo.116.1631930521594; Fri, 17 Sep 2021 19:02:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631930521; cv=none; d=google.com; s=arc-20160816; b=wQerkpg/XZNfrplUyVnEfwXwwTvYRO8CLmgc/pAyxdjTMYQ5IydpxHM7+7ph9LCt0y cRMeBzZBVRTKl/uhd844qUOsOFOAnDpGX/wUbGGBw00k61xqrWGHkpx6GCwjSlhwdEKh B9J8V47QjaRTODRx3Z29FG1t9aoBj8mXMjw+HRoZbPNbaQQGm8ztwqTWfXqBsqt5/E/z EB3Ps35IqwLAMhQ32FLKcOLXUxYmWAHwE5l7VoMRdu8HdycrltbZQkYH55an/PUq87SX 3C70dpcKZxRLDbzvcrcP9Gjx9dLmfpa+NdH1HDYZBZ9wHiI0qrcsEcpPxP+gsN0X1pTf HOkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=U3KdKPCkk8mD8O6CUlTubGe1LBk3+FVrheenTmF8+SY=; b=Rw6rFuVZUCVMOrOZrXYSwrvX+a1QDEXTiDPnhQptetxrOwzX+So+UqwV1e0Mk15ZOt V8BCliIr2nHNMjCLGM7Yrv3vPPZT2Ubyb/CPI4nn8N2jZ2senqthpzKPYw/dFCmNhMRh +QBU4OKW5UricKJQ5jTPNJoVYWPXmafZt37wgAlx/8NXdBorhrAApYyg3odwziII39Xu PqrOE0pFxDfjlFDmHKHQ81WE9ZyRkzU8yVPQ6m4fyxtD92/HbHVI+fvy/KDN6ONzH38W FcRg7rZf0X+92MFMJ+R8HmiXnMhcVYRJB2s+gd/LuD71iQ8A1CRz2Dj4rM5mUBeqNl3+ QkiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz20si9186163ejb.263.2021.09.17.19.01.35; Fri, 17 Sep 2021 19:02:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236291AbhIQSWu (ORCPT + 99 others); Fri, 17 Sep 2021 14:22:50 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:50536 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230465AbhIQSWu (ORCPT ); Fri, 17 Sep 2021 14:22:50 -0400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 60365223FA; Fri, 17 Sep 2021 18:21:26 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id D6E7B13C4E; Fri, 17 Sep 2021 18:21:19 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id SaenGJ/cRGH7fgAAMHmgww (envelope-from ); Fri, 17 Sep 2021 18:21:19 +0000 Date: Fri, 17 Sep 2021 11:21:13 -0700 From: Davidlohr Bueso To: Alistair Francis Cc: linux-riscv@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, alistair23@gmail.com, namhyung@kernel.org, jolsa@redhat.com, alexander.shishkin@linux.intel.com, mark.rutland@arm.com, acme@kernel.org, dvhart@infradead.org, peterz@infradead.org, mingo@redhat.com, tglx@linutronix.de, atish.patra@wdc.com, arnd@arndb.de, Alistair Francis Subject: Re: [PATCH v3 1/2] perf benchmark: Call the futex syscall from a function Message-ID: <20210917182113.nacg5zbjiexmhhjk@offworld> References: <20210917061040.2270822-1-alistair.francis@opensource.wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20210917061040.2270822-1-alistair.francis@opensource.wdc.com> User-Agent: NeoMutt/20201120 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Sep 2021, Alistair Francis wrote: >From: Alistair Francis > >In preparation for a more complex futex() function let's convert the >current macro into two functions. We need two functions to avoid >compiler failures as the macro is overloaded. > >This will allow us to include pre-processor conditionals in the futex >syscall functions. > >Signed-off-by: Alistair Francis Acked-by: Davidlohr Bueso