diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2007-10-20 23:23:23 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2007-10-20 23:23:23 +0000 |
| commit | 3745c395ecae17ef47be82433463d561629220b0 (patch) | |
| tree | 705ce8283c36af96cf048c799a9c02ee91af62db /sys/dev/utopia | |
| parent | 2b3e7485f683cae86e5b9c773bbaabf920746f0e (diff) | |
Notes
Diffstat (limited to 'sys/dev/utopia')
| -rw-r--r-- | sys/dev/utopia/utopia.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/utopia/utopia.c b/sys/dev/utopia/utopia.c index 7480efc3da6f..caac02e0e83c 100644 --- a/sys/dev/utopia/utopia.c +++ b/sys/dev/utopia/utopia.c @@ -623,7 +623,7 @@ utopia_daemon(void *arg __unused) } wakeup_one(&utopia_list); UTP_RUNLOCK_LIST(); - kthread_exit(0); + kproc_exit(0); } /* @@ -639,7 +639,7 @@ utopia_mod_init(module_t mod, int what, void *arg) case MOD_LOAD: mtx_init(&utopia_list_mtx, "utopia list mutex", NULL, MTX_DEF); - err = kthread_create(utopia_daemon, NULL, &utopia_kproc, + err = kproc_create(utopia_daemon, NULL, &utopia_kproc, RFHIGHPID, 0, "utopia"); if (err != 0) { printf("cannot created utopia thread %d\n", err); |
