summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-02-14 15:25:42 +0530
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-02-16 21:52:13 +0100
commitf74294bd6768af59e33dc14c6fed41f01d0adc5b (patch)
treefe09aa560697c8944678fb1fb20dd9e42dae1c05 /libc/sysdeps/linux
parent65bc357213f1c08e339757923740f5d68212cf76 (diff)
ARC: sigaction: inline syscall trap
Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/arc/sigaction.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/arc/sigaction.c b/libc/sysdeps/linux/arc/sigaction.c
index 96c9983b1..4a4c9e2d0 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