mips: syscalls: define syscall offsets directly in <asm/unistd.h>
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 28 May 2021 03:46:14 +0000 (12:46 +0900)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 1 Jun 2021 09:17:24 +0000 (11:17 +0200)
commitfaf243ede96855067fa38f5b1595a4f0c61ed5c7
treec354d85f5a8c850975e10bb2df4e6f39e5adc9f1
parentab78bb62e936f7ae0b1c501c6c9d88777c894b8e
mips: syscalls: define syscall offsets directly in <asm/unistd.h>

There is no good reason to generate the syscall offset macros by
scripting since they are not derived from the syscall tables.

Define __NR_*_Linux macros directly in arch/mips/include/asm/unistd.h,
and clean up the Makefile and the shell script.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/unistd.h
arch/mips/kernel/syscalls/Makefile
arch/mips/kernel/syscalls/syscallnr.sh