summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorVineet Gupta <Vineet.Gupta1@synopsys.com>2015-02-14 15:25:42 +0530
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-16 06:24:22 +0100
commit7a65ad5399609ba715df2eaf4432db333ec0bf01 (patch)
tree10dd91bbefab840b05f891bb01badc0430f97bd4 /libc
parent9846f0a881815b87cf1eac8919739fb60e293c57 (diff)
ARC: sigaction: inline syscall trap
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'libc')
-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 a34c7cf4c..a42044324 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