lkml.org 
[lkml]   [2018]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] microblaze: Add new syscalls io_pgetevents and rseq
From
Date
On 14.6.2018 08:26, Michal Simek wrote:
> Wire up new syscalls io_pgetevents and rseq.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
> arch/microblaze/include/asm/unistd.h | 2 +-
> arch/microblaze/include/uapi/asm/unistd.h | 2 ++
> arch/microblaze/kernel/syscall_table.S | 2 ++
> 3 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/arch/microblaze/include/asm/unistd.h b/arch/microblaze/include/asm/unistd.h
> index 9774e1d9507b..a62d09420a47 100644
> --- a/arch/microblaze/include/asm/unistd.h
> +++ b/arch/microblaze/include/asm/unistd.h
> @@ -38,6 +38,6 @@
>
> #endif /* __ASSEMBLY__ */
>
> -#define __NR_syscalls 399
> +#define __NR_syscalls 401
>
> #endif /* _ASM_MICROBLAZE_UNISTD_H */
> diff --git a/arch/microblaze/include/uapi/asm/unistd.h b/arch/microblaze/include/uapi/asm/unistd.h
> index eb156f914793..7a9f16a76413 100644
> --- a/arch/microblaze/include/uapi/asm/unistd.h
> +++ b/arch/microblaze/include/uapi/asm/unistd.h
> @@ -415,5 +415,7 @@
> #define __NR_pkey_alloc 396
> #define __NR_pkey_free 397
> #define __NR_statx 398
> +#define __NR_io_pgetevents 399
> +#define __NR_rseq 400
>
> #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */
> diff --git a/arch/microblaze/kernel/syscall_table.S b/arch/microblaze/kernel/syscall_table.S
> index 56bcf313121f..6ab650593792 100644
> --- a/arch/microblaze/kernel/syscall_table.S
> +++ b/arch/microblaze/kernel/syscall_table.S
> @@ -400,3 +400,5 @@ ENTRY(sys_call_table)
> .long sys_pkey_alloc
> .long sys_pkey_free
> .long sys_statx
> + .long sys_io_pgetevents
> + .long sys_rseq
>

Applied.
M

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2018-06-21 08:56    [W:0.038 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site