basic/missing-syscalls: only emit one warning about missing numbers
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 27 Apr 2021 19:18:05 +0000 (03:18 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 28 Apr 2021 13:41:34 +0000 (15:41 +0200)
commit94dfd85b0cc8d2271b9d1aedeb75d43123a94e85
treeeccd1072ff718ed7fde6bd740f21b81a64b65701
parent192a9d95ea3e058afd824d38a9cea16ad0a84a57
basic/missing-syscalls: only emit one warning about missing numbers

The ifdef pattern is the same for all syscalls, so most of the time, if one is
not defined, all others will too. So let's reduce the noise a bit and emit one
warning in case the support for the architecture is fully missing. (Current
template was copied over from before when we added numbers for each syscall by
hand and stopped making sense when we started generating the header from a
table that is expected to have all syscall numbers.)
src/basic/missing_syscall_def.h
src/basic/missing_syscalls.py