Re: [PATCH v2 09/11] tile/tracing: fix compat syscall handling

From: Chris Metcalf
Date: Tue Sep 20 2016 - 21:23:37 EST


On 9/16/2016 3:11 AM, Marcin Nowakowski wrote:
Add missing arch code - arch_trace_is_compat_syscall and
arch_syscall_addr

Signed-off-by: Marcin Nowakowski<marcin.nowakowski@xxxxxxxxxx>
Cc:Cc: Steven Rostedt<rostedt@xxxxxxxxxxx>
Cc: Ingo Molnar<mingo@xxxxxxxxxx>
Cc: Chris Metcalf<cmetcalf@xxxxxxxxxxxx>
---
arch/tile/include/asm/ftrace.h | 10 ++++++++++
arch/tile/kernel/Makefile | 1 +
arch/tile/kernel/ftrace.c | 13 +++++++++++++
3 files changed, 24 insertions(+)

This looks OK with the exception of needing is_compat_task() instead
of in_compat_syscall(). With that change:

Signed-of-by: Chris Metcalf <cmetcalf@xxxxxxxxxxxx>

--
Chris Metcalf, Mellanox Technologies
http://www.mellanox.com