lkml.org 
[lkml]   [2016]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 09/11] tile/tracing: fix compat syscall handling
From
Date
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@imgtec.com>
> Cc:Cc: Steven Rostedt<rostedt@goodmis.org>
> Cc: Ingo Molnar<mingo@redhat.com>
> Cc: Chris Metcalf<cmetcalf@mellanox.com>
> ---
> 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@mellanox.com>

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

\
 
 \ /
  Last update: 2016-09-21 03:24    [W:1.146 / U:1.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site