FreeBSD doesn't have p_emuldata, and our stackgap_init() doesn't take an

argument.
This commit is contained in:
John Baldwin 2001-01-23 21:02:44 +00:00
parent 07a1f31cd0
commit 37bf0fc1f8

View File

@ -219,7 +219,7 @@ svr4_semctl(p, v, retval)
struct sys___semctl_args ap;
struct svr4_semid_ds ss;
struct semid_ds bs, *bsp;
caddr_t sg = stackgap_init(p->p_emul);
caddr_t sg = stackgap_init();
SCARG(&ap, semid) = SCARG(uap, semid);
SCARG(&ap, semnum) = SCARG(uap, semnum);
@ -536,7 +536,7 @@ svr4_msgctl(p, v, retval)
struct sys_msgctl_args ap;
struct svr4_msqid_ds ss;
struct msqid_ds bs;
caddr_t sg = stackgap_init(p->p_emul);
caddr_t sg = stackgap_init();
SCARG(&ap, msqid) = SCARG(uap, msqid);
SCARG(&ap, cmd) = SCARG(uap, cmd);
@ -724,7 +724,7 @@ svr4_shmctl(p, v, retval)
{
struct svr4_sys_shmctl_args *uap = v;
int error;
caddr_t sg = stackgap_init(p->p_emul);
caddr_t sg = stackgap_init();
struct sys_shmctl_args ap;
struct shmid_ds bs;
struct svr4_shmid_ds ss;