aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/i386/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/i386/trap.c')
-rw-r--r--sys/i386/i386/trap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c
index 59745358823c..db02d51edb6c 100644
--- a/sys/i386/i386/trap.c
+++ b/sys/i386/i386/trap.c
@@ -467,6 +467,7 @@ restart:
/*
* returns to original process
*/
+ mtx_exit(&Giant, MTX_DEF);
vm86_trap((struct vm86frame *)&frame);
goto out;
}