Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1616413pxb; Mon, 11 Oct 2021 09:33:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbkdYldceykR+gqIc6aZ5ww+E4NLNQ1btgZqhHHPRDGaR8HMEP14/0jZxBJvGP94FfsJ/i X-Received: by 2002:a63:e413:: with SMTP id a19mr18917661pgi.408.1633969997250; Mon, 11 Oct 2021 09:33:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633969997; cv=none; d=google.com; s=arc-20160816; b=gYQXtCLWqSGaMWGG/8ms6SbGfIEV8zll/WrzvtO8mcV/DlMuVl2/KCY3gF9IPqNXRM L2iVYN/LALRQv9QS7Vit0yfifFf1u23o6NbRMHELs4g+4N8H3epKRwEhwWpuO0U44mUi BL2BjZzM4+s02JOUiQwYH9WB0PbmWj0YIr7ddfICfzXcaOtEg9K6MIWojNfNmLsnDRI2 xr1e7gsjyEWvHFopQHmkAPcVrIGSXZjqtAOlDGcEPp5wHNNKwCCTEJP5SNq3krMPCDKZ xakES2dtZdfXaqI0olglxP6vnIN6+kCMMhywKytjIKfvy0jugFIJ386a3SdH/0eoxin/ 0J1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+3o2sk8kM0wnILZCIgPTDUROoioZPqd8xj9hEb2PR8Q=; b=EZvIj5coSKFu1n4EG0Rrxq1za6wj8EpbJxpcNl9UOfHW80rscc/390l1b3pIZh6lWD dYXlX2rf4u9HieoltY2l2m61y5EGK62VObADEaJdw6YroMUSs6iR0aT9YoFxLZuGNOaV 26/MDt8dyCXeOLrDJ7AUwd+BY8v13vY7/UPdQFp9PKVUrqH44SzYiBJ3zB4wyKWlOHrY r5adtj2GGRPjSqG8sJmj64Dpp9XQu9hKL3Jpaic291443VISjNI0dzXdcbYN7hrcyRYq VJCzbCeWCBwB+LqmvlxIQkN92/YB5JPl1Td28fH4gVdI3JzpxpSnKcD1Cn9k9InsBnXn VpKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fxtLe+VG; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si15300472plh.436.2021.10.11.09.33.04; Mon, 11 Oct 2021 09:33:17 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fxtLe+VG; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237455AbhJKOAx (ORCPT + 99 others); Mon, 11 Oct 2021 10:00:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:49408 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236986AbhJKN6y (ORCPT ); Mon, 11 Oct 2021 09:58:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8365861167; Mon, 11 Oct 2021 13:55:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633960527; bh=GsOKpLZbNKyk0oRTidppXS/3zJVsgtJu4Wv25N74IPA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fxtLe+VGgnXJkQghNe3kGhGtefz9Tpd7F5QFhcw+dcj0CbXgBz5SOVdJmf2xhFhVt DwrLmd5Vo6VNj9i1sGsCXEPzmcYdBVEj0+M/NxwD+TpPXQboBSJH0JSDaKVxYh00fZ vX2Z8ARQvy4+LXLrx3Vp4WRcHTFWCrnJeMHnn6T0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Palmer Dabbelt , Arnd Bergmann , Christian Brauner , Sasha Levin Subject: [PATCH 5.10 72/83] RISC-V: Include clone3() on rv32 Date: Mon, 11 Oct 2021 15:46:32 +0200 Message-Id: <20211011134510.860697582@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211011134508.362906295@linuxfoundation.org> References: <20211011134508.362906295@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Palmer Dabbelt [ Upstream commit 59a4e0d5511ba61353ea9a4efdb1b86c23ecf134 ] As far as I can tell this should be enabled on rv32 as well, I'm not sure why it's rv64-only. checksyscalls is complaining about our lack of clone3() on rv32. Fixes: 56ac5e213933 ("riscv: enable sys_clone3 syscall for rv64") Signed-off-by: Palmer Dabbelt Reviewed-by: Arnd Bergmann Acked-by: Christian Brauner Signed-off-by: Palmer Dabbelt Signed-off-by: Sasha Levin --- arch/riscv/include/uapi/asm/unistd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/riscv/include/uapi/asm/unistd.h b/arch/riscv/include/uapi/asm/unistd.h index 4b989ae15d59..8062996c2dfd 100644 --- a/arch/riscv/include/uapi/asm/unistd.h +++ b/arch/riscv/include/uapi/asm/unistd.h @@ -18,9 +18,10 @@ #ifdef __LP64__ #define __ARCH_WANT_NEW_STAT #define __ARCH_WANT_SET_GET_RLIMIT -#define __ARCH_WANT_SYS_CLONE3 #endif /* __LP64__ */ +#define __ARCH_WANT_SYS_CLONE3 + #include /* -- 2.33.0