summaryrefslogtreecommitdiff
path: root/sys/alpha/linux
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2003-04-22 18:23:49 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2003-04-22 18:23:49 +0000
commitfe8cdcae8755884de5038365ebd6730c32cbc1bd (patch)
tree222816ecfa4d78c70aa83bd9c9691fc78e08ee97 /sys/alpha/linux
parent3301bb23492830723c51ec4ff7d82fac17522f2f (diff)
Notes
Diffstat (limited to 'sys/alpha/linux')
-rw-r--r--sys/alpha/linux/linux_machdep.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/sys/alpha/linux/linux_machdep.c b/sys/alpha/linux/linux_machdep.c
index 851ac83dbcab..07b89a728560 100644
--- a/sys/alpha/linux/linux_machdep.c
+++ b/sys/alpha/linux/linux_machdep.c
@@ -35,6 +35,7 @@
#include <sys/mount.h>
#include <sys/mutex.h>
#include <sys/proc.h>
+#include <sys/syscallsubr.h>
#include <sys/sysproto.h>
#include <sys/unistd.h>
#include <sys/user.h>
@@ -303,11 +304,7 @@ linux_rt_sigsuspend(td, uap)
{
int error;
l_sigset_t lmask;
- sigset_t *bmask;
- struct sigsuspend_args bsd;
- caddr_t sg;
-
- sg = stackgap_init();
+ sigset_t bmask;
#ifdef DEBUG
if (ldebug(rt_sigsuspend))
@@ -321,10 +318,8 @@ linux_rt_sigsuspend(td, uap)
if (error)
return (error);
- bmask = stackgap_alloc(&sg, sizeof(sigset_t));
- linux_to_bsd_sigset(&lmask, bmask);
- bsd.sigmask = bmask;
- return (sigsuspend(td, &bsd));
+ linux_to_bsd_sigset(&lmask, &bmask);
+ return (kern_sigsuspend(td, bmask));
}
int