summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac/aac.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/aac/aac.c')
-rw-r--r--sys/dev/aac/aac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c
index 54c7c1c..01212eb 100644
--- a/sys/dev/aac/aac.c
+++ b/sys/dev/aac/aac.c
@@ -354,7 +354,7 @@ aac_attach(struct aac_softc *sc)
sc->aac_dev_t->si_drv1 = sc;
/* Create the AIF thread */
- if (kthread_create((void(*)(void *))aac_command_thread, sc,
+ if (kproc_create((void(*)(void *))aac_command_thread, sc,
&sc->aifthread, 0, 0, "aac%daif", unit))
panic("Could not create AIF thread\n");
@@ -990,7 +990,7 @@ aac_command_thread(struct aac_softc *sc)
mtx_unlock(&sc->aac_io_lock);
wakeup(sc->aac_dev);
- kthread_exit(0);
+ kproc_exit(0);
}
/*
OpenPOWER on IntegriCloud