diff options
Diffstat (limited to 'kern/profile.c')
-rw-r--r-- | kern/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/profile.c b/kern/profile.c index 5510721..2c9c44b 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)); |