Skip to content
Snippets Groups Projects
Unverified Commit 45ef1aa8 authored by David Abdurachmanov's avatar David Abdurachmanov Committed by Palmer Dabbelt
Browse files

riscv: define NR_syscalls in unistd.h


This macro is used by kernel/trace/{trace.h,trace_syscalls.c} if we
have CONFIG_FTRACE_SYSCALLS enabled.

Signed-off-by: default avatarDavid Abdurachmanov <david.abdurachmanov@gmail.com>
Fixes: b78002b395b4 ("riscv: add HAVE_SYSCALL_TRACEPOINTS to Kconfig")
Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
parent 0aea8943
No related branches found
No related tags found
No related merge requests found
...@@ -19,3 +19,5 @@ ...@@ -19,3 +19,5 @@
#define __ARCH_WANT_SYS_CLONE #define __ARCH_WANT_SYS_CLONE
#include <uapi/asm/unistd.h> #include <uapi/asm/unistd.h>
#define NR_syscalls (__NR_syscalls)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment