diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2006-04-17 18:20:38 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2006-04-17 18:20:38 +0000 |
| commit | 0f180a7cce5bed801060557dd5bdbad64318d3c6 (patch) | |
| tree | 6e1e68443c878ae084bc35e7e36a8edf68ad3352 /sys/dev/random | |
| parent | 00d02f943bbcd6ec85092821e9ee4d8adca83c83 (diff) | |
Notes
Diffstat (limited to 'sys/dev/random')
| -rw-r--r-- | sys/dev/random/randomdev_soft.c | 6 |
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); } |
