aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fdc
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2007-10-20 23:23:23 +0000
committerJulian Elischer <julian@FreeBSD.org>2007-10-20 23:23:23 +0000
commit3745c395ecae17ef47be82433463d561629220b0 (patch)
tree705ce8283c36af96cf048c799a9c02ee91af62db /sys/dev/fdc
parent2b3e7485f683cae86e5b9c773bbaabf920746f0e (diff)
downloadsrc-3745c395ecae17ef47be82433463d561629220b0.tar.gz
src-3745c395ecae17ef47be82433463d561629220b0.zip
Rename the kthread_xxx (e.g. kthread_create()) calls
to kproc_xxx as they actually make whole processes. Thos makes way for us to add REAL kthread_create() and friends that actually make theads. it turns out that most of these calls actually end up being moved back to the thread version when it's added. but we need to make this cosmetic change first. I'd LOVE to do this rename in 7.0 so that we can eventually MFC the new kthread_xxx() calls.
Notes
Notes: svn path=/head/; revision=172836
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r--sys/dev/fdc/fdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index 22e810b30c1a..50ba331602e7 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -1207,7 +1207,7 @@ fdc_thread(void *arg)
fdc->flags &= ~(FDC_KTHREAD_EXIT | FDC_KTHREAD_ALIVE);
mtx_unlock(&fdc->fdc_mtx);
- kthread_exit(0);
+ kproc_exit(0);
}
/*
@@ -1795,7 +1795,7 @@ fdc_attach(device_t dev)
fdout_wr(fdc, fdc->fdout = 0);
bioq_init(&fdc->head);
- kthread_create(fdc_thread, fdc, &fdc->fdc_thread, 0, 0,
+ kproc_create(fdc_thread, fdc, &fdc->fdc_thread, 0, 0,
"fdc%d", device_get_unit(dev));
settle = hz / 8;