OSDN Git Service

ARC: sigaction: inline syscall trap
authorVineet Gupta <vgupta@synopsys.com>
Sat, 14 Feb 2015 09:55:42 +0000 (15:25 +0530)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 16 Feb 2015 20:52:13 +0000 (21:52 +0100)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/arc/sigaction.c

index 96c9983..4a4c9e2 100644 (file)
@@ -41,7 +41,8 @@ __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
                act = &kact;
        }
 
-       return __syscall_rt_sigaction(sig, act, oact, sizeof(act->sa_mask));
+       return INLINE_SYSCALL(rt_sigaction, 4,
+                       sig, act, oact, sizeof(act->sa_mask));
 }
 
 #ifndef LIBC_SIGACTION