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/firewire | |
| parent | 2b3e7485f683cae86e5b9c773bbaabf920746f0e (diff) | |
Notes
Diffstat (limited to 'sys/dev/firewire')
| -rw-r--r-- | sys/dev/firewire/firewire.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/firewire/firewire.c b/sys/dev/firewire/firewire.c index c3c09abc4f46..c7767dae39be 100644 --- a/sys/dev/firewire/firewire.c +++ b/sys/dev/firewire/firewire.c @@ -440,7 +440,7 @@ firewire_attach(device_t dev) (void *)firewire_watchdog, (void *)sc->fc); /* create thread */ - kthread_create(fw_bus_probe_thread, (void *)fc, &fc->probe_thread, + kproc_create(fw_bus_probe_thread, (void *)fc, &fc->probe_thread, 0, 0, "fw%d_probe", unit); /* Locate our children */ @@ -1661,7 +1661,7 @@ fw_bus_probe_thread(void *arg) msleep((void *)fc, &fc->wait_lock, PWAIT|PCATCH, "-", 0); } mtx_unlock(&fc->wait_lock); - kthread_exit(0); + kproc_exit(0); } /* |
