diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c b/sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c index 34d3c62e86..87468fd409 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c @@ -21,16 +21,13 @@ #include <string.h> #include <syscall.h> +#include <sysdep.h> #include <sys/signal.h> #include <errno.h> #include <kernel_sigaction.h> /* SPARC 64bit userland requires a kernel that has rt signals anyway. */ -extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *, - struct kernel_sigaction *, unsigned long, - size_t); - static void __rt_sigreturn_stub (void); int @@ -50,8 +47,8 @@ __sigaction (int sig, __const struct sigaction *act, struct sigaction *oact) /* XXX The size argument hopefully will have to be changed to the real size of the user-level sigset_t. */ - ret = __syscall_rt_sigaction (sig, act ? &kact : 0, oact ? &koact : 0, - stub, _NSIG / 8); + ret = INLINE_SYSCALL (rt_sigaction, 5, sig, act ? &kact : 0, + oact ? &koact : 0, stub, _NSIG / 8); if (oact && ret >= 0) { |