diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-07-06 08:15:29 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-07-08 21:01:14 +0200 |
commit | 27932b6a2088eac7a5afa5471963b926cfbb4de7 (patch) | |
tree | c0ac1332cb380432931e3e88140ddb7aa90f5d02 /drivers/rtc/rtc-ds1374.c | |
parent | scripts: check duplicated syscall number in syscall table (diff) | |
download | linux-27932b6a2088eac7a5afa5471963b926cfbb4de7.tar.xz linux-27932b6a2088eac7a5afa5471963b926cfbb4de7.zip |
scripts: add generic syscallnr.sh
Like syscallhdr.sh and syscalltbl.sh, add a simple script to generate
the __NR_syscalls, which should not be exported to userspace.
This script is useful to replace arch/mips/kernel/syscalls/syscallnr.sh,
refactor arch/s390/kernel/syscalls/syscalltbl, and eliminate the code
surrounded by #ifdef __KERNEL__ / #endif from exported uapi/asm/unistd_*.h
files.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'drivers/rtc/rtc-ds1374.c')
0 files changed, 0 insertions, 0 deletions