diff options
author | Sergey Matyukevich <sergey.matyukevich@synopsys.com> | 2022-04-14 10:17:23 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@kernel.org> | 2022-04-25 22:09:47 +0200 |
commit | fb0b54909b153ac6195378fa8ddee3f7531f8e51 (patch) | |
tree | 7d74e0f30de818900f5b8f9a4e160ac96e64b593 /arch/arc/include/asm/syscall.h | |
parent | ARC: enable HAVE_REGS_AND_STACK_ACCESS_API feature (diff) | |
download | linux-fb0b54909b153ac6195378fa8ddee3f7531f8e51.tar.xz linux-fb0b54909b153ac6195378fa8ddee3f7531f8e51.zip |
ARC: implement syscall tracepoints
Implement all the bits required to support HAVE_SYSCALL_TRACEPOINTS
according to Documentation/trace/ftrace-design.rst.
Signed-off-by: Sergey Matyukevich <sergey.matyukevich@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
Diffstat (limited to 'arch/arc/include/asm/syscall.h')
-rw-r--r-- | arch/arc/include/asm/syscall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/include/asm/syscall.h b/arch/arc/include/asm/syscall.h index 94529e89dff0..9709256e31c8 100644 --- a/arch/arc/include/asm/syscall.h +++ b/arch/arc/include/asm/syscall.h @@ -12,6 +12,8 @@ #include <asm/unistd.h> #include <asm/ptrace.h> /* in_syscall() */ +extern void *sys_call_table[]; + static inline long syscall_get_nr(struct task_struct *task, struct pt_regs *regs) { |