summaryrefslogtreecommitdiff
path: root/kern/ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/ast.c')
-rw-r--r--kern/ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/ast.c b/kern/ast.c
index 4b9d63d6..2772ed3e 100644
--- a/kern/ast.c
+++ b/kern/ast.c
@@ -96,7 +96,7 @@ ast_taken(void)
if (self != current_processor()->idle_thread) {
#ifndef MIGRATING_THREADS
while (thread_should_halt(self))
- thread_halt_self();
+ thread_halt_self(thread_exception_return);
#endif
/*