summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-03-02 00:36:54 +0900
committerMax Filippov <jcmvbkbc@gmail.com>2021-04-04 15:39:02 -0700
commit8d949ae25bd0c18038c51e291cb4053dff5f0297 (patch)
treefc52d3684fa119ed9b007db9b70459e98d8b8012 /tools/perf/scripts/python/export-to-sqlite.py
parent7b6657843c6a227da08af8a8e94c3519bc0ae582 (diff)
xtensa: stop filling syscall array with sys_ni_syscall
arch/xtensa/kernel/syscalls/syscalltbl.sh fills missing syscall numbers with sys_ni_syscall. So, the generated arch/xtensa/include/generated/asm/syscall_table.h has no hole. Hence, the line: [0 ... __NR_syscalls - 1] = (syscall_t)&sys_ni_syscall, is meaningless. The number of generated __SYSCALL() macros is the same as __NR_syscalls (this is 442 as of v5.11). Hence, the array size, [__NR_syscalls] is unneeded. The designated initializer, '[nr] =', is also unneeded. This file does not need to know __NR_syscalls. Drop the unneeded <asm/unistd.h> include directive. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Message-Id: <20210301153656.363839-1-masahiroy@kernel.org> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions