diff --git a/sys/pc98/i386/trap.c b/sys/pc98/i386/trap.c index 6671bbffc148..2bd8d0a6396a 100644 --- a/sys/pc98/i386/trap.c +++ b/sys/pc98/i386/trap.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)trap.c 7.4 (Berkeley) 5/13/91 - * $Id: trap.c,v 1.48 1998/03/31 07:53:08 kato Exp $ + * $Id: trap.c,v 1.49 1998/04/16 16:31:36 kato Exp $ */ /* @@ -573,6 +573,10 @@ trap(frame) return; } + /* Translate fault for emulators (e.g. Linux) */ + if (*p->p_sysent->sv_transtrap) + i = (*p->p_sysent->sv_transtrap)(i, type); + trapsignal(p, i, ucode); #ifdef DEBUG