* [PATCH] sh: systemcall wireup
@ 2018-07-31 10:36 Yoshinori Sato
2018-07-31 14:27 ` Rich Felker
0 siblings, 1 reply; 2+ messages in thread
From: Yoshinori Sato @ 2018-07-31 10:36 UTC (permalink / raw)
To: linux-sh
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
---
arch/sh/include/uapi/asm/unistd_32.h | 8 ++++++--
arch/sh/kernel/syscalls_32.S | 5 +++++
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/arch/sh/include/uapi/asm/unistd_32.h b/arch/sh/include/uapi/asm/unistd_32.h
index 58f04cf3d1d9..4f0fa3ab99f8 100644
--- a/arch/sh/include/uapi/asm/unistd_32.h
+++ b/arch/sh/include/uapi/asm/unistd_32.h
@@ -395,7 +395,11 @@
#define __NR_copy_file_range 380
#define __NR_preadv2 381
#define __NR_pwritev2 382
-
-#define NR_syscalls 383
+#define __NR_pkey_mprotect 383
+#define __NR_pkey_alloc 384
+#define __NR_pkey_free 385
+#define __NR_statx 386
+#define __NR_io_pgetevents 387
+#define NR_syscalls 388
#endif /* __ASM_SH_UNISTD_32_H */
diff --git a/arch/sh/kernel/syscalls_32.S b/arch/sh/kernel/syscalls_32.S
index 254bc22ee57d..dd2aa16327af 100644
--- a/arch/sh/kernel/syscalls_32.S
+++ b/arch/sh/kernel/syscalls_32.S
@@ -400,3 +400,8 @@ ENTRY(sys_call_table)
.long sys_copy_file_range /* 380 */
.long sys_preadv2
.long sys_pwritev2
+ .long sys_pkey_mprotect
+ .long sys_pkey_alloc
+ .long sys_pkey_free /* 385 */
+ .long sys_statx
+ .long sys_io_pgetevents
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] sh: systemcall wireup
2018-07-31 10:36 [PATCH] sh: systemcall wireup Yoshinori Sato
@ 2018-07-31 14:27 ` Rich Felker
0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2018-07-31 14:27 UTC (permalink / raw)
To: linux-sh
On Tue, Jul 31, 2018 at 07:36:09PM +0900, Yoshinori Sato wrote:
> Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
> ---
> arch/sh/include/uapi/asm/unistd_32.h | 8 ++++++--
> arch/sh/kernel/syscalls_32.S | 5 +++++
> 2 files changed, 11 insertions(+), 2 deletions(-)
>
> diff --git a/arch/sh/include/uapi/asm/unistd_32.h b/arch/sh/include/uapi/asm/unistd_32.h
> index 58f04cf3d1d9..4f0fa3ab99f8 100644
> --- a/arch/sh/include/uapi/asm/unistd_32.h
> +++ b/arch/sh/include/uapi/asm/unistd_32.h
> @@ -395,7 +395,11 @@
> #define __NR_copy_file_range 380
> #define __NR_preadv2 381
> #define __NR_pwritev2 382
> -
> -#define NR_syscalls 383
> +#define __NR_pkey_mprotect 383
> +#define __NR_pkey_alloc 384
> +#define __NR_pkey_free 385
> +#define __NR_statx 386
> +#define __NR_io_pgetevents 387
> +#define NR_syscalls 388
>
> #endif /* __ASM_SH_UNISTD_32_H */
> diff --git a/arch/sh/kernel/syscalls_32.S b/arch/sh/kernel/syscalls_32.S
> index 254bc22ee57d..dd2aa16327af 100644
> --- a/arch/sh/kernel/syscalls_32.S
> +++ b/arch/sh/kernel/syscalls_32.S
> @@ -400,3 +400,8 @@ ENTRY(sys_call_table)
> .long sys_copy_file_range /* 380 */
> .long sys_preadv2
> .long sys_pwritev2
> + .long sys_pkey_mprotect
> + .long sys_pkey_alloc
> + .long sys_pkey_free /* 385 */
> + .long sys_statx
> + .long sys_io_pgetevents
> --
> 2.11.0
Looks good. In the next couple days I'm going to start triage of all
the pending patches and get a pull request ready for the next merge,
and I'll make sure to include this.
Rich
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-31 14:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-31 10:36 [PATCH] sh: systemcall wireup Yoshinori Sato
2018-07-31 14:27 ` Rich Felker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.