]> www.infradead.org Git - users/dwmw2/linux.git/commit
rtla: Define __NR_sched_setattr for LoongArch
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 22 Apr 2025 07:49:17 +0000 (15:49 +0800)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 7 May 2025 20:35:31 +0000 (16:35 -0400)
commit6a38c51a2557d4d50748818a858d507c250f3bee
tree68ba4812ef737c41f164dd6dca7340e1247d2483
parent18682166f61494072d589692c57b7a32b89fc9dc
rtla: Define __NR_sched_setattr for LoongArch

When executing "make -C tools/tracing/rtla" on LoongArch, there exists
the following error:

  src/utils.c:237:24: error: '__NR_sched_setattr' undeclared

Just define __NR_sched_setattr for LoongArch if not exist.

Link: https://lore.kernel.org/20250422074917.25771-1-yangtiezhu@loongson.cn
Reported-by: Haiyong Sun <sunhaiyong@loongson.cn>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/tracing/rtla/src/utils.c