summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@kernel.org>2026-07-07 21:07:01 +0200
committerThomas Gleixner <tglx@kernel.org>2026-07-12 12:38:02 +0200
commit1b1f3b3e1b3945ae6e49081fd3586a6833d4a555 (patch)
tree30576a7f49b6f4a1cc2e415267c3526351eaa2c9 /tools/perf/scripts/python
parent2b341c74dbf8864b6dd32119b761ceaab516249e (diff)
x86/entry: Get rid of the sys_ni_syscall() indirection
Invoking sys_ni_syscall() from a code path, which already knows that the syscall number is invalid just to assign -ENOSYS to regs->ax is a pointless exercise. It's even redundant as the low level entry code already has set regs->ax to -ENOSYS on entry. Remove the extra conditionals and the function calls. Signed-off-by: Thomas Gleixner <tglx@kernel.org> Tested-by: Mukesh Kumar Chaurasiya (IBM) <mkchauras@gmail.com> Reviewed-by: Jinjie Ruan <ruanjinjie@huawei.com> Link: https://patch.msgid.link/20260707190254.493733289@kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions