Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: system call wire up

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Rich Felker <dalias@libc.org>

authored by

Yoshinori Sato and committed by
Rich Felker
74bdaa61 a3163996

+58 -2
+15 -1
arch/sh/include/uapi/asm/unistd_32.h
··· 380 380 #define __NR_process_vm_writev 366 381 381 #define __NR_kcmp 367 382 382 #define __NR_finit_module 368 383 + #define __NR_sched_getattr 369 384 + #define __NR_sched_setattr 370 385 + #define __NR_renameat2 371 386 + #define __NR_seccomp 372 387 + #define __NR_getrandom 373 388 + #define __NR_memfd_create 374 389 + #define __NR_bpf 375 390 + #define __NR_execveat 376 391 + #define __NR_userfaultfd 377 392 + #define __NR_membarrier 378 393 + #define __NR_mlock2 379 394 + #define __NR_copy_file_range 380 395 + #define __NR_preadv2 381 396 + #define __NR_pwritev2 382 383 397 384 - #define NR_syscalls 369 398 + #define NR_syscalls 383 385 399 386 400 #endif /* __ASM_SH_UNISTD_32_H */
+15 -1
arch/sh/include/uapi/asm/unistd_64.h
··· 400 400 #define __NR_process_vm_writev 377 401 401 #define __NR_kcmp 378 402 402 #define __NR_finit_module 379 403 + #define __NR_sched_getattr 380 404 + #define __NR_sched_setattr 381 405 + #define __NR_renameat2 382 406 + #define __NR_seccomp 383 407 + #define __NR_getrandom 384 408 + #define __NR_memfd_create 385 409 + #define __NR_bpf 386 410 + #define __NR_execveat 387 411 + #define __NR_userfaultfd 388 412 + #define __NR_membarrier 389 413 + #define __NR_mlock2 390 414 + #define __NR_copy_file_range 391 415 + #define __NR_preadv2 392 416 + #define __NR_pwritev2 393 403 417 404 - #define NR_syscalls 380 418 + #define NR_syscalls 394 405 419 406 420 #endif /* __ASM_SH_UNISTD_64_H */
+14
arch/sh/kernel/syscalls_32.S
··· 386 386 .long sys_process_vm_writev 387 387 .long sys_kcmp 388 388 .long sys_finit_module 389 + .long sys_sched_getattr 390 + .long sys_sched_setattr /* 370 */ 391 + .long sys_renameat2 392 + .long sys_seccomp 393 + .long sys_getrandom 394 + .long sys_memfd_create 395 + .long sys_bpf /* 375 */ 396 + .long sys_execveat 397 + .long sys_userfaultfd 398 + .long sys_membarrier 399 + .long sys_mlock2 400 + .long sys_copy_file_range /* 380 */ 401 + .long sys_preadv2 402 + .long sys_pwritev2
+14
arch/sh/kernel/syscalls_64.S
··· 406 406 .long sys_process_vm_writev 407 407 .long sys_kcmp 408 408 .long sys_finit_module 409 + .long sys_sched_getattr /* 380 */ 410 + .long sys_sched_setattr 411 + .long sys_renameat2 412 + .long sys_seccomp 413 + .long sys_getrandom 414 + .long sys_memfd_create /* 385 */ 415 + .long sys_bpf 416 + .long sys_execveat 417 + .long sys_userfaultfd 418 + .long sys_membarrier 419 + .long sys_mlock2 /* 390 */ 420 + .long sys_copy_file_range 421 + .long sys_preadv2 422 + .long sys_pwritev2