diff options
author | peter <peter@FreeBSD.org> | 1996-03-17 14:31:58 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-03-17 14:31:58 +0000 |
commit | 60cf70fbc63a8ec159a3f54d78018e4f20de0d04 (patch) | |
tree | e3cc7d2c2d165a126067bbd582d338cbc9512161 /sys/alpha | |
parent | 13b92da068f5773b08959789536b713e419df01c (diff) | |
download | FreeBSD-src-60cf70fbc63a8ec159a3f54d78018e4f20de0d04.zip FreeBSD-src-60cf70fbc63a8ec159a3f54d78018e4f20de0d04.tar.gz |
Update the linux_sendsig() handler to the new type of the 4th
arg, now unsigned long. This was (harmlessly on i386) conflicting
with the recent 4.4Lite2 changes.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/linux/linux_sysvec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c index c6316ae..9a9f338 100644 --- a/sys/alpha/linux/linux_sysvec.c +++ b/sys/alpha/linux/linux_sysvec.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_sysvec.c,v 1.2 1996/03/10 08:42:48 sos Exp $ + * $Id: linux_sysvec.c,v 1.3 1996/03/10 22:42:16 peter Exp $ */ /* XXX we use functions that might not exist. */ @@ -66,7 +66,7 @@ int linux_fixup __P((int **stack_base, struct image_params *iparams)); int elf_linux_fixup __P((int **stack_base, struct image_params *iparams)); void linux_prepsyscall __P((struct trapframe *tf, int *args, u_int *code, caddr_t *params)); -void linux_sendsig __P((sig_t catcher, int sig, int mask, unsigned code)); +void linux_sendsig __P((sig_t catcher, int sig, int mask, u_long code)); /* * Linux syscalls return negative errno's, we do positive and map them @@ -164,7 +164,7 @@ extern int _ucodesel, _udatasel; */ void -linux_sendsig(sig_t catcher, int sig, int mask, unsigned code) +linux_sendsig(sig_t catcher, int sig, int mask, u_long code) { register struct proc *p = curproc; register int *regs; @@ -176,7 +176,7 @@ linux_sendsig(sig_t catcher, int sig, int mask, unsigned code) oonstack = psp->ps_sigstk.ss_flags & SS_ONSTACK; #ifdef DEBUG - printf("Linux-emul(%d): linux_sendsig(%8x, %d, %d, %d)\n", + printf("Linux-emul(%d): linux_sendsig(%8x, %d, %d, %ld)\n", p->p_pid, catcher, sig, mask, code); #endif /* |