diff options
| author | Thomas Gleixner <tglx@kernel.org> | 2026-07-07 21:07:01 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-07-12 12:38:02 +0200 |
| commit | 1b1f3b3e1b3945ae6e49081fd3586a6833d4a555 (patch) | |
| tree | 30576a7f49b6f4a1cc2e415267c3526351eaa2c9 /tools/perf/scripts/python | |
| parent | 2b341c74dbf8864b6dd32119b761ceaab516249e (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
