From: Denys V. <dvl...@re...> - 2008-12-30 20:34:56
|
On Thu, 2008-12-11 at 15:36 +0200, Kirill A. Shutemov wrote: > Signed-off-by: Kirill A. Shutemov <ki...@sh...> > --- > strace/defs.h | 5 ++++- > strace/syscall.c | 8 +++++--- > 2 files changed, 9 insertions(+), 4 deletions(-) This part does not apply: > @@ -1334,7 +1334,9 @@ syscall_fixup(tcp) > struct tcb *tcp; > { > #ifndef USE_PROCFS > +#ifndef ARM > int pid = tcp->pid; > +#endif > #else /* USE_PROCFS */ > int scno = known_scno(tcp); > > @@ -1929,9 +1931,9 @@ static int > syscall_enter(tcp) > struct tcb *tcp; > { > -#ifndef USE_PROCFS > +#if !defined(USE_PROCFS) && !defined(ARM) > int pid = tcp->pid; > -#endif /* !USE_PROCFS */ > +#endif /* !USE_PROCFS && !ARM */ > #ifdef LINUX > #if defined(S390) || defined(S390X) > { I applied the rest. Thanks. -- vda |