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 <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2013-02-15 15:25:37 +01:00
parent 6cf36057b3
commit ddd2da2562

View File

@ -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;