From: Dmitry V. Levin Date: Tue, 9 Aug 2016 14:35:06 +0000 (+0000) Subject: ia64: replace SYS_clone2 with __NR_clone2 X-Git-Tag: v4.14~210 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38d854e425b71cc810adea817272fc7b988ceb97;p=strace ia64: replace SYS_clone2 with __NR_clone2 Migrate to __NR_* the last user of SYS_* macros provided by . * clone.c [IA64] (ARG_STACKSIZE, ARG_PTID, ARG_CTID, ARG_TLS): Replace SYS_clone2 with __NR_clone2. --- diff --git a/clone.c b/clone.c index 99d0da7f..0138631f 100644 --- a/clone.c +++ b/clone.c @@ -42,10 +42,10 @@ #if defined IA64 # define ARG_FLAGS 0 # define ARG_STACK 1 -# define ARG_STACKSIZE (tcp->scno == SYS_clone2 ? 2 : -1) -# define ARG_PTID (tcp->scno == SYS_clone2 ? 3 : 2) -# define ARG_CTID (tcp->scno == SYS_clone2 ? 4 : 3) -# define ARG_TLS (tcp->scno == SYS_clone2 ? 5 : 4) +# define ARG_STACKSIZE (tcp->scno == __NR_clone2 ? 2 : -1) +# define ARG_PTID (tcp->scno == __NR_clone2 ? 3 : 2) +# define ARG_CTID (tcp->scno == __NR_clone2 ? 4 : 3) +# define ARG_TLS (tcp->scno == __NR_clone2 ? 5 : 4) #elif defined S390 || defined S390X || defined CRISV10 || defined CRISV32 # define ARG_STACK 0 # define ARG_FLAGS 1