]> Gentwo Git Trees - linux/.git/commit
tracing: Hide __NR_utimensat and _NR_mq_timedsend when not defined
authorSteven Rostedt <rostedt@goodmis.org>
Wed, 5 Nov 2025 01:53:10 +0000 (20:53 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Mon, 10 Nov 2025 19:23:53 +0000 (14:23 -0500)
commita10e6e681864ce8ae7f6957be5577f8d17669db0
treecf707602e172b00b79c963df83c6779b79334630
parent2f294c35c0b9302dac2a741fa715822a10c265c3
tracing: Hide __NR_utimensat and _NR_mq_timedsend when not defined

Some architectures (riscv-32) do not define __NR_utimensat and
_NR_mq_timedsend, and fails to build when they are used.

Hide them in "ifdef"s.

Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://patch.msgid.link/20251104205310.00a1db9a@batman.local.home
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202511031239.ZigDcWzY-lkp@intel.com/
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_syscalls.c