Sync with sys/i386/i386/trap.c revision 1.127.

This commit is contained in:
kato 1998-04-29 09:45:38 +00:00
parent a3285d96fe
commit a682e25b90

View File

@ -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