Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

checksyscalls: move path to reference table to a variable

An upcoming patch will need to reuse this path.

Move it into a reusable variable.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/20260402-kbuild-missing-syscalls-v3-1-6641be1de2db@weissschuh.net
Signed-off-by: Nicolas Schier <nsc@kernel.org>

authored by

Thomas Weißschuh and committed by
Nicolas Schier
9fba6131 54718784

+3 -1
+3 -1
scripts/checksyscalls.sh
··· 10 10 # checksyscalls.sh gcc gcc-options 11 11 # 12 12 13 + reference_table="$(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl" 14 + 13 15 ignore_list() { 14 16 cat << EOF 15 17 #include <asm/types.h> ··· 271 269 done 272 270 } 273 271 274 - (ignore_list && syscall_list $(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl) | \ 272 + (ignore_list && syscall_list ${reference_table}) | \ 275 273 $* -Wno-error -Wno-unused-macros -E -x c - > /dev/null