aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/bios
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/i386/bios
parent2b3e7485f683cae86e5b9c773bbaabf920746f0e (diff)
Notes
Diffstat (limited to 'sys/i386/bios')
-rw-r--r--sys/i386/bios/apm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c
index f23099fbc8018..30a24b5362af2 100644
--- a/sys/i386/bios/apm.c
+++ b/sys/i386/bios/apm.c
@@ -754,7 +754,7 @@ apm_event_thread(void *arg)
mtx_unlock(&sc->mtx);
}
sc->running = 0;
- kthread_exit(0);
+ kproc_exit(0);
}
/* enable APM BIOS */
@@ -770,7 +770,7 @@ apm_event_enable(void)
/* Start the thread */
sc->active = 1;
- if (kthread_create(apm_event_thread, sc, &sc->event_thread, 0, 0,
+ if (kproc_create(apm_event_thread, sc, &sc->event_thread, 0, 0,
"apm worker"))
panic("Cannot create apm worker thread");