From nobody Fri Jan 2 01:33:04 2026 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 0167BCDB474 for ; Tue, 17 Oct 2023 08:29:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234710AbjJQI37 (ORCPT ); Tue, 17 Oct 2023 04:29:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234627AbjJQI35 (ORCPT ); Tue, 17 Oct 2023 04:29:57 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81A4393 for ; Tue, 17 Oct 2023 01:29:56 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCE46C433C8; Tue, 17 Oct 2023 08:29:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697531396; bh=zenHPyeKceFZFgEV+uWEq8+8PBkYyEyPfOUeL8osqrQ=; h=From:To:Cc:Subject:Date:From; b=tf//FAUeFQheaHmWrLkoJ86tEiiDy0CYDoSqtRLPj4EO5RDVapbXV6sb6Yh24FnCj irWbXxZiWw0qnc4EFQalQhRF/kJfjHpZ2eXnuliUsyJf3bTMBHltGSfi6/jg18/u9N vjMX/DlsgafM0KjKzEq0sc2puRv7uFzoy8w2VXlA+gxVAzT1WG4A9ik8BpOGp/zmmp OkL8Ut6N3RXUYkONPHqLUQVkJFzPnX81VJCzkHDz30pMY/5yw2SRWHCuFPcJVLXr2g z835BgF7HA2MOEhvDoEEtoLUc9MiRRYsGkn3Zse2eFw8qag/kRFa9z3bSFqdh47MiF CzxzwfBGzzluA== From: "Jiri Slaby (SUSE)" To: keescook@chromium.org Cc: linux-kernel@vger.kernel.org, Andrei Vagin , "Peter Zijlstra (Intel)" , Jiri Slaby Subject: [PATCH] perf/benchmark: fix seccom_unotify benchmark for 32-bit Date: Tue, 17 Oct 2023 10:29:52 +0200 Message-ID: <20231017082952.31510-1-jirislaby@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Andrei Vagin Commit 7d5cb68af638 (perf/benchmark: add a new benchmark for seccom_unotify) added a reference to __NR_seccomp into perf. This is fine as it added also a definition of __NR_seccomp for 64-bit. But it failed to do so for 32-bit as instead of ifndef, ifdef was used. Fix this typo (so fix the build of perf on 32-bit). Fixes: 7d5cb68af638 (perf/benchmark: add a new benchmark for seccom_unotify) Cc: Andrei Vagin Cc: "Peter Zijlstra (Intel)" Cc: Kees Cook Signed-off-by: Jiri Slaby (SUSE) --- tools/arch/x86/include/uapi/asm/unistd_32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/arch/x86/include/uapi/asm/unistd_32.h b/tools/arch/x86/i= nclude/uapi/asm/unistd_32.h index 4798f9d18fe8..9de35df1afc3 100644 --- a/tools/arch/x86/include/uapi/asm/unistd_32.h +++ b/tools/arch/x86/include/uapi/asm/unistd_32.h @@ -26,6 +26,6 @@ #ifndef __NR_setns #define __NR_setns 346 #endif -#ifdef __NR_seccomp +#ifndef __NR_seccomp #define __NR_seccomp 354 #endif --=20 2.42.0