From ddd2da2562938ef53d9721f912d3c6137476a0b4 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 15 Feb 2013 15:25:37 +0100 Subject: [PATCH] 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 --- syscall.c | 8 -------- 1 file changed, 8 deletions(-) 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; -- 2.50.1