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:
@ -1432,14 +1432,6 @@ get_scno(struct tcb *tcp)
|
|||||||
currpers = 0;
|
currpers = 0;
|
||||||
# endif
|
# endif
|
||||||
update_personality(tcp, currpers);
|
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)
|
#elif defined(MICROBLAZE)
|
||||||
if (upeek(tcp, 0, &scno) < 0)
|
if (upeek(tcp, 0, &scno) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user