diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-04-02 16:36:18 +0200 |
|---|---|---|
| committer | Nicolas Schier <nsc@kernel.org> | 2026-04-05 09:21:23 +0200 |
| commit | 9fba6131aeaec0637fd8636b9fb49b6596214525 (patch) | |
| tree | b6dce86d9009a16bf55f3878bd3968108111a40e /scripts | |
| parent | 5471878477a3e9d4851f39c8becbb39d290d0192 (diff) | |
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>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/checksyscalls.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh index 1e5d2eeb726d..9becaf8d7b78 100755 --- a/scripts/checksyscalls.sh +++ b/scripts/checksyscalls.sh @@ -10,6 +10,8 @@ # checksyscalls.sh gcc gcc-options # +reference_table="$(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl" + ignore_list() { cat << EOF #include <asm/types.h> @@ -269,5 +271,5 @@ syscall_list() { done } -(ignore_list && syscall_list $(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl) | \ +(ignore_list && syscall_list ${reference_table}) | \ $* -Wno-error -Wno-unused-macros -E -x c - > /dev/null |
