From: Denys Vlasenko Date: Fri, 15 Feb 2013 14:25:37 +0000 (+0100) Subject: Fix build error on Tile X-Git-Tag: v4.8~156 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ddd2da2562938ef53d9721f912d3c6137476a0b4;p=strace Fix build error on Tile * syscall.c (get_scno): [TILE] Remove TCB_WAITEXECVE check, it is never true on Tile, and stopped compiling when TCB_WAITEXECVE define was removed for Tile. Signed-off-by: Denys Vlasenko --- diff --git a/syscall.c b/syscall.c index 448f37d6..bf94eee5 100644 --- a/syscall.c +++ b/syscall.c @@ -1432,14 +1432,6 @@ get_scno(struct tcb *tcp) currpers = 0; # endif update_personality(tcp, currpers); - - if (!(tcp->flags & TCB_INSYSCALL)) { - /* Check if we return from execve. */ - if (tcp->flags & TCB_WAITEXECVE) { - tcp->flags &= ~TCB_WAITEXECVE; - return 0; - } - } #elif defined(MICROBLAZE) if (upeek(tcp, 0, &scno) < 0) return -1;