summaryrefslogtreecommitdiff
path: root/kern/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/profile.c')
-rw-r--r--kern/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/profile.c b/kern/profile.c
index 55107218..2c9c44bb 100644
--- a/kern/profile.c
+++ b/kern/profile.c
@@ -213,7 +213,7 @@ thread_t th;
thread_wakeup((event_t) profile_thread);
assert_wait((event_t) &buf_entry->wakeme, TRUE);
splx(s);
- thread_block((void (*)()) 0);
+ thread_block(thread_no_continuation);
} else {
splx(s);
kmem_free(kernel_map, vm_buf_entry, sizeof(struct buf_to_send));