Skip to content

Commit b3f80f6

Browse files
committed
sparc: Add {open_by,name_to}_handle_at and clock_adjtime syscalls.
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 9889376 commit b3f80f6

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

‎arch/sparc/include/asm/unistd.h‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,11 @@
400400
#define __NR_fanotify_init 329
401401
#define __NR_fanotify_mark 330
402402
#define __NR_prlimit64 331
403+
#define __NR_name_to_handle_at 332
404+
#define __NR_open_by_handle_at 333
405+
#define __NR_clock_adjtime 334
403406

404-
#define NR_syscalls 332
407+
#define NR_syscalls 335
405408

406409
#ifdef __32bit_syscall_numbers__
407410
/* Sparc 32-bit only has the "setresuid32", "getresuid32" variants,

‎arch/sparc/kernel/systbls_32.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,5 @@ sys_call_table:
8383
/*315*/ .long sys_timerfd_settime, sys_timerfd_gettime, sys_signalfd4, sys_eventfd2, sys_epoll_create1
8484
/*320*/ .long sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4, sys_preadv
8585
/*325*/ .long sys_pwritev, sys_rt_tgsigqueueinfo, sys_perf_event_open, sys_recvmmsg, sys_fanotify_init
86-
/*330*/ .long sys_fanotify_mark, sys_prlimit64
86+
/*330*/ .long sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, sys_open_by_handle_at, sys_clock_adjtime
8787

‎arch/sparc/kernel/systbls_64.S‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ sys_call_table32:
8484
.word compat_sys_timerfd_settime, compat_sys_timerfd_gettime, compat_sys_signalfd4, sys_eventfd2, sys_epoll_create1
8585
/*320*/ .word sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4, compat_sys_preadv
8686
.word compat_sys_pwritev, compat_sys_rt_tgsigqueueinfo, sys_perf_event_open, compat_sys_recvmmsg, sys_fanotify_init
87-
/*330*/ .word sys32_fanotify_mark, sys_prlimit64
87+
/*330*/ .word sys32_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, compat_sys_open_by_handle_at, compat_sys_clock_adjtime
8888

8989
#endif /* CONFIG_COMPAT */
9090

@@ -160,4 +160,4 @@ sys_call_table:
160160
.word sys_timerfd_settime, sys_timerfd_gettime, sys_signalfd4, sys_eventfd2, sys_epoll_create1
161161
/*320*/ .word sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4, sys_preadv
162162
.word sys_pwritev, sys_rt_tgsigqueueinfo, sys_perf_event_open, sys_recvmmsg, sys_fanotify_init
163-
/*330*/ .word sys_fanotify_mark, sys_prlimit64
163+
/*330*/ .word sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, sys_open_by_handle_at, sys_clock_adjtime

0 commit comments

Comments
 (0)