]> git.baikalelectronics.ru Git - kernel.git/commit
mips: syscalls: switch to generic syscalltbl.sh
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 1 Mar 2021 14:48:24 +0000 (23:48 +0900)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 10 Mar 2021 14:19:14 +0000 (15:19 +0100)
commit143c13e15dee13137ff56f4bb950b0122f5a7483
tree0c68a2ac431440aa495bdfead067e3f64bc7260d
parent8db0789b22ddfc004a0aa6f90f0000994b884423
mips: syscalls: switch to generic syscalltbl.sh

Many architectures duplicate similar shell scripts.

This commit converts mips to use scripts/syscalltbl.sh. This also
unifies syscall_table_32_o32.h and syscall_table_64_o32.h into
syscall_table_o32.h.

The offset parameters are unneeded here; __SYSCALL(nr, entry) is defined
as 'PTR entry', so the parameter 'nr' is not used in the first place.

With this commit, syscall tables and generated files are straight
mapped,  which makes things easier to understand.

  syscall_n32.tbl  -->  syscall_table_n32.h
  syscall_n64.tbl  -->  syscall_table_n64.h
  syscall_o32.tbl  -->  syscall_table_o32.h

Then, the abi parameters are also unneeded.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/Kbuild
arch/mips/kernel/scall32-o32.S
arch/mips/kernel/scall64-n32.S
arch/mips/kernel/scall64-n64.S
arch/mips/kernel/scall64-o32.S
arch/mips/kernel/syscalls/Makefile
arch/mips/kernel/syscalls/syscalltbl.sh [deleted file]