Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c68e3206 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Fix an off-by-1 in FTRACE_SYSCALL_MAX.



This is supposed to be the equivalent of __NR_syscalls, not
__NR_syscalls -1. The x86 code this was based on had simply fallen
out of sync at the time this was implemented. Fix it up now.

As a result, tracing of __NR_perf_counter_open works as advertised.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 12cceb62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment