From: Randy Dunlap <rdunlap@infradead.org>
To: linux-kernel@vger.kernel.org
Cc: Randy Dunlap <rdunlap@infradead.org>,
Dinh Nguyen <dinguyen@kernel.org>,
Christian Brauner <christian@brauner.io>
Subject: [PATCH RESEND^2] nios2: support clone3() syscall
Date: Tue, 1 Aug 2023 22:19:24 -0700 [thread overview]
Message-ID: <20230802051924.7837-1-rdunlap@infradead.org> (raw)
Add support for the clone3() syscall to prevent a warning from
checksyscalls.sh:
<stdin>:1517:2: warning: #warning syscall clone3 not implemented [-Wcpp]
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Christian Brauner <christian@brauner.io>
---
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/asm/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
/* Use the standard ABI for syscalls */
#include <asm-generic/unistd.h>
next reply other threads:[~2023-08-02 5:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-02 5:19 Randy Dunlap [this message]
2023-08-02 7:40 ` Christian Brauner
2023-08-02 8:16 ` Arnd Bergmann
2023-08-02 15:43 ` Randy Dunlap
2023-08-06 17:52 ` Dinh Nguyen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230802051924.7837-1-rdunlap@infradead.org \
--to=rdunlap@infradead.org \
--cc=christian@brauner.io \
--cc=dinguyen@kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®