]> granicus.if.org Git - strace/commitdiff
Fix build error on Tile
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 15 Feb 2013 14:25:37 +0000 (15:25 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 15 Feb 2013 14:25:37 +0000 (15:25 +0100)
* 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 <vda.linux@googlemail.com>
syscall.c

index 448f37d631fe8b120172e1752167f9431fe3816a..bf94eee5e5abf7edfa759cddb7d34a9f5116b71a 100644 (file)
--- 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;