Skip to content

Commit

Permalink
rtla: Define syscall numbers for riscv
Browse files Browse the repository at this point in the history
RISC-V uses the same (generic) syscall numbers as ARM64.

Link: https://lkml.kernel.org/r/[email protected]

Signed-off-by: Andreas Schwab <[email protected]>
Acked-by: Daniel Bristot de Oliveira <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
  • Loading branch information
andreas-schwab authored and rostedt committed Jul 31, 2022
1 parent 4f753c3 commit dd0b15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/tracing/rtla/src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ long parse_ns_duration(char *val)
#elif __arm__
# define __NR_sched_setattr 380
# define __NR_sched_getattr 381
#elif __aarch64__
#elif __aarch64__ || __riscv
# define __NR_sched_setattr 274
# define __NR_sched_getattr 275
#elif __powerpc__
Expand Down

0 comments on commit dd0b15b

Please sign in to comment.