summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_aio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r--sys/kern/vfs_aio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c
index 842b435..264f291 100644
--- a/sys/kern/vfs_aio.c
+++ b/sys/kern/vfs_aio.c
@@ -1122,7 +1122,7 @@ aio_daemon(void *_id)
mycp->p_vmspace->vm_refcnt);
}
#endif
- kthread_exit(0);
+ kproc_exit(0);
}
}
}
@@ -1143,7 +1143,7 @@ aio_newproc(int *start)
int id;
id = alloc_unr(aiod_unr);
- error = kthread_create(aio_daemon, (void *)(intptr_t)id, &p,
+ error = kproc_create(aio_daemon, (void *)(intptr_t)id, &p,
RFNOWAIT, 0, "aiod%d", id);
if (error == 0) {
/*
OpenPOWER on IntegriCloud