scripts: check duplicated syscall number in syscall table
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 5 Jul 2021 06:06:54 +0000 (15:06 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 8 Jul 2021 19:00:39 +0000 (04:00 +0900)
commitc6a3a81d19b834e3aed819027f022c5938fca2ec
treef44a9b2ced0e0d8d9ca894cad174dbb807ee3ec2
parenta0e781a2a35a8dd4e6a38571998d59c6b0e32cd8
scripts: check duplicated syscall number in syscall table

Currently, syscall{hdr,tbl}.sh sorts the entire syscall table, but you
can assume it is already sorted by the syscall number.

The generated syscall table does not work if the same syscall number
appears twice. Check it in the script.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/syscallhdr.sh
scripts/syscalltbl.sh