diff --git a/sys/arch/mips/mips/linux_trap.c b/sys/arch/mips/mips/linux_trap.c index 84952e54fa05..c02be0ac182a 100644 --- a/sys/arch/mips/mips/linux_trap.c +++ b/sys/arch/mips/mips/linux_trap.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_trap.c,v 1.4 2003/10/29 23:39:45 christos Exp $ */ +/* $NetBSD: linux_trap.c,v 1.5 2003/10/30 00:01:47 simonb Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_trap.c,v 1.4 2003/10/29 23:39:45 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_trap.c,v 1.5 2003/10/30 00:01:47 simonb Exp $"); #include #include @@ -52,12 +52,16 @@ __KERNEL_RCSID(0, "$NetBSD: linux_trap.c,v 1.4 2003/10/29 23:39:45 christos Exp #ifndef __HAVE_SIGINFO void -linux_trapsignal(struct lwp *l, int signo, u_long type) { +linux_trapsignal(struct lwp *l, int signo, u_long type) +{ + (*l->l_proc->p_emul->e_trapsignal)(l, signo, type); } #else void -linux_trapsignal(struct lwp *l, const ksiginfo_t *ksi) { +linux_trapsignal(struct lwp *l, const ksiginfo_t *ksi) +{ + (*l->l_proc->p_emul->e_trapsignal)(l, ksi); } #endif