This commit is contained in:
simonb 2003-10-30 00:01:47 +00:00
parent 31d051445b
commit 0c6a00f6c6
1 changed files with 8 additions and 4 deletions

View File

@ -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 <sys/cdefs.h>
__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 <sys/param.h>
#include <sys/systm.h>
@ -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