From: Christian Brauner <christian@brauner.io>
To: Paul Walmsley <paul.walmsley@sifive.com>
Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-arch@vger.kernel.org
Subject: Re: [PATCH] riscv: enable sys_clone3 syscall for rv64
Date: Fri, 19 Jul 2019 10:59:45 +0200 [thread overview]
Message-ID: <20190719085944.n4ypavxdlf6go4tl@brauner.io> (raw)
In-Reply-To: <alpine.DEB.2.21.9999.1907182118500.7083@viisi.sifive.com>
On Thu, Jul 18, 2019 at 09:20:01PM -0700, Paul Walmsley wrote:
>
> Enable the sys_clone3 syscall for RV64. We simply include the generic
> version.
>
> Tested by running the program from
>
> https://lore.kernel.org/lkml/20190716130631.tohj4ub54md25dys@brauner.io/
>
> and verifying that it completes successfully.
>
> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
> Cc: Christian Brauner <christian@brauner.io>
Thank you!
Acked-by: Christian Brauner <christian@brauner.io>
> ---
> arch/riscv/include/uapi/asm/unistd.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/riscv/include/uapi/asm/unistd.h b/arch/riscv/include/uapi/asm/unistd.h
> index 0e2eeeb1fd27..13ce76cc5aff 100644
> --- a/arch/riscv/include/uapi/asm/unistd.h
> +++ b/arch/riscv/include/uapi/asm/unistd.h
> @@ -18,6 +18,7 @@
> #ifdef __LP64__
> #define __ARCH_WANT_NEW_STAT
> #define __ARCH_WANT_SET_GET_RLIMIT
> +#define __ARCH_WANT_SYS_CLONE3
> #endif /* __LP64__ */
>
> #include <asm-generic/unistd.h>
> --
> 2.22.0
>
prev parent reply other threads:[~2019-07-19 8:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-19 4:20 Paul Walmsley
2019-07-19 8:59 ` Christian Brauner [this message]
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=20190719085944.n4ypavxdlf6go4tl@brauner.io \
--to=christian@brauner.io \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=paul.walmsley@sifive.com \
/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®