summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKATO Takenori <kato@FreeBSD.org>1998-04-29 09:45:38 +0000
committerKATO Takenori <kato@FreeBSD.org>1998-04-29 09:45:38 +0000
commitccf47cfcedf9f3db1780bc3b52ca0adb4480d3f6 (patch)
tree8b0d5b746152b831150fd35cd4b089d2e93cf586
parent312e185f9c53610eb386eaf28dbffff4c10b71c8 (diff)
Notes
-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 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 @@ 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