summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/i386/trap.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/pc98/i386/trap.c b/sys/pc98/i386/trap.c
index 6671bbf..2bd8d0a 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 @@ kernel_trap:
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
OpenPOWER on IntegriCloud