x86/syscalls: Switch to generic syscalltbl.sh
Many architectures duplicate similar shell scripts. Convert x86 and UML to use scripts/syscalltbl.sh. The generic script generates seperate headers for x86/64 and x86/x32 syscalls, while the x86 specific script coalesced them into one. Adjust the code accordingly. Signed-off-by:Masahiro Yamada <masahiroy@kernel.org> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210517073815.97426-3-masahiroy@kernel.org
Showing
- arch/x86/entry/syscall_32.c 9 additions, 3 deletionsarch/x86/entry/syscall_32.c
- arch/x86/entry/syscall_64.c 3 additions, 6 deletionsarch/x86/entry/syscall_64.c
- arch/x86/entry/syscall_x32.c 5 additions, 10 deletionsarch/x86/entry/syscall_x32.c
- arch/x86/entry/syscalls/Makefile 8 additions, 2 deletionsarch/x86/entry/syscalls/Makefile
- arch/x86/entry/syscalls/syscalltbl.sh 0 additions, 46 deletionsarch/x86/entry/syscalls/syscalltbl.sh
- arch/x86/include/asm/Kbuild 1 addition, 0 deletionsarch/x86/include/asm/Kbuild
- arch/x86/um/sys_call_table_32.c 5 additions, 3 deletionsarch/x86/um/sys_call_table_32.c
- arch/x86/um/sys_call_table_64.c 3 additions, 6 deletionsarch/x86/um/sys_call_table_64.c
Please register or sign in to comment