diff mbox

[6/8] ARC: sigaction: inline syscall trap

Message ID 1423907744-2394-7-git-send-email-vgupta@synopsys.com
State Accepted
Commit f74294bd6768af59e33dc14c6fed41f01d0adc5b
Headers show

Commit Message

Vineet Gupta Feb. 14, 2015, 9:55 a.m. UTC
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
 libc/sysdeps/linux/arc/sigaction.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/libc/sysdeps/linux/arc/sigaction.c b/libc/sysdeps/linux/arc/sigaction.c
index a34c7cf4c556..a4204432489a 100644
--- a/libc/sysdeps/linux/arc/sigaction.c
+++ b/libc/sysdeps/linux/arc/sigaction.c
@@ -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