From: Chris G. Demetriou Date: Tue, 10 Jan 1995 10:28:18 +0000 (-0800) Subject: signal handler code is u_long, pull in vm_extern.h and fix grow() args. X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/bb315f9f8616e55780165afa7dfd1db1aa3bd116 signal handler code is u_long, pull in vm_extern.h and fix grow() args. SCCS-vsn: sys/hp300/hp300/machdep.c 8.11 --- diff --git a/usr/src/sys/hp300/hp300/machdep.c b/usr/src/sys/hp300/hp300/machdep.c index 5ed1bb47ca..3dfe429c5c 100644 --- a/usr/src/sys/hp300/hp300/machdep.c +++ b/usr/src/sys/hp300/hp300/machdep.c @@ -11,7 +11,7 @@ * * from: Utah $Hdr: machdep.c 1.74 92/12/20$ * - * @(#)machdep.c 8.10 (Berkeley) %G% + * @(#)machdep.c 8.11 (Berkeley) %G% */ #include @@ -51,6 +51,7 @@ #include #define MAXMEM 64*1024*CLSIZE /* XXX - from cmap.h */ +#include #include /* the following is used externally (sysctl_hw) */ @@ -678,7 +679,7 @@ void sendsig(catcher, sig, mask, code) sig_t catcher; int sig, mask; - unsigned code; + u_long code; { register struct proc *p = curproc; register struct sigframe *fp, *kfp; @@ -713,7 +714,7 @@ sendsig(catcher, sig, mask, code) } else fp = (struct sigframe *)(frame->f_regs[SP] - fsize); if ((unsigned)fp <= USRSTACK - ctob(p->p_vmspace->vm_ssize)) - (void)grow(p, (unsigned)fp); + (void)grow(p, (vm_offset_t)fp); #ifdef DEBUG if ((sigdebug & SDB_KSTACK) && p->p_pid == sigpid) printf("sendsig(%d): sig %d ssp %x usp %x scp %x ft %d\n",