summaryrefslogtreecommitdiff
path: root/sys/dev/random
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2006-06-16 22:11:55 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2006-06-16 22:11:55 +0000
commitdd8bba93483fdf0fec452b7046d8b7cecc258a70 (patch)
treefe363d1020fd132c9055b47ac2e0ea1545cf7317 /sys/dev/random
parentc2d3a5138b4bc807d552a567c5e092c47d9bca0d (diff)
Notes
Diffstat (limited to 'sys/dev/random')
-rw-r--r--sys/dev/random/randomdev_soft.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/random/randomdev_soft.c b/sys/dev/random/randomdev_soft.c
index cd5e2d9bc0ba..159d6cebc54c 100644
--- a/sys/dev/random/randomdev_soft.c
+++ b/sys/dev/random/randomdev_soft.c
@@ -211,8 +211,7 @@ random_yarrow_deinit(void)
* Command the hash/reseed thread to end and wait for it to finish
*/
random_kthread_control = -1;
- tsleep((void *)&random_kthread_control, curthread->td_priority, "term",
- 0);
+ tsleep((void *)&random_kthread_control, 0, "term", 0);
/* Destroy the harvest fifos */
while (!STAILQ_EMPTY(&emptyfifo.head)) {
@@ -285,8 +284,7 @@ random_kthread(void *arg __unused)
/* Found nothing, so don't belabour the issue */
if (!active)
- tsleep(&harvestfifo, curthread->td_priority, "-",
- hz / 10);
+ tsleep(&harvestfifo, 0, "-", hz / 10);
}