From nobody Sun Feb 8 09:11:05 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 ABC0FC001DE for ; Wed, 2 Aug 2023 05:20:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232395AbjHBFUU (ORCPT ); Wed, 2 Aug 2023 01:20:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232412AbjHBFTq (ORCPT ); Wed, 2 Aug 2023 01:19:46 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96CCA210D for ; Tue, 1 Aug 2023 22:19:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=/0CU48Zw70eP8gCcZfPtoIrEyWctIOGQrz7h9ITawzM=; b=BjWKxpZG+8KfojucOLyUNYAbPV r84HoLLtxHBma5a0aWgIcRFjRNK14l2Gc8kotnZxbLuxpfNxOjvtW6xsfqrhzQbRXpRPm4Yd652Ft bjnE4WB/9sX2mPzHNTm6+vkqOVZDaC1FoSdNshu/MWLA65YnHBguCmoSGay2n+5cYIoOjPl+Nyyfc fETQHCV6cgvsqJFXdsn+zhCUfQLni74w37zWDSnDoUUBhuy/O32OgtXe7KKR+MvGzDRQqtKGUC2Rb lYQi1Oock4Fy10eaudKkN5ZH3YNSVLTzFw7yiz/+tLhsxz0+a0fafMYdqRsnyYBy8SovyY4Wq0tPR MP9pjzpQ==; Received: from [2601:1c2:980:9ec0::2764] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qR4Ga-0042og-39; Wed, 02 Aug 2023 05:19:25 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Dinh Nguyen , Christian Brauner Subject: [PATCH RESEND^2] nios2: support clone3() syscall Date: Tue, 1 Aug 2023 22:19:24 -0700 Message-ID: <20230802051924.7837-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.41.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" Add support for the clone3() syscall to prevent a warning from checksyscalls.sh: :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] Signed-off-by: Randy Dunlap Cc: Dinh Nguyen Cc: Christian Brauner --- Is there some reason that NIOS2 should not (does not) support clone3()? arch/nios2/include/uapi/asm/unistd.h | 1 + 1 file changed, 1 insertion(+) diff -- a/arch/nios2/include/uapi/asm/unistd.h b/arch/nios2/include/uapi/as= m/unistd.h --- a/arch/nios2/include/uapi/asm/unistd.h +++ b/arch/nios2/include/uapi/asm/unistd.h @@ -22,6 +22,7 @@ #define __ARCH_WANT_STAT64 #define __ARCH_WANT_SET_GET_RLIMIT #define __ARCH_WANT_TIME32_SYSCALLS +#define __ARCH_WANT_SYS_CLONE3 =20 /* Use the standard ABI for syscalls */ #include