summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/exception.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kern/exception.c b/kern/exception.c
index ebd9e5b..e50541b 100644
--- a/kern/exception.c
+++ b/kern/exception.c
@@ -243,6 +243,10 @@ exception_no_server()
while (thread_should_halt(self))
thread_halt_self();
+
+ if (thread_suspend (self) == KERN_SUCCESS)
+ thread_exception_return ();
+
#if MACH_KDB
if (debug_user_with_kdb) {
/*