summaryrefslogtreecommitdiffstats
path: root/sys/dev/random
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-03-05 22:42:17 +0000
committerjhb <jhb@FreeBSD.org>2004-03-05 22:42:17 +0000
commit2642ed40295455677e7d763f756ee5dd9f0c2673 (patch)
tree0cb8679f9d812640e447455f4abf4169ae910cac /sys/dev/random
parent6ee273fcd7d5fd22582d9e17e8f6c3a085bb31ca (diff)
downloadFreeBSD-src-2642ed40295455677e7d763f756ee5dd9f0c2673.zip
FreeBSD-src-2642ed40295455677e7d763f756ee5dd9f0c2673.tar.gz
kthread_exit() no longer requires Giant, so don't force callers to acquire
Giant just to call kthread_exit(). Requested by: many
Diffstat (limited to 'sys/dev/random')
-rw-r--r--sys/dev/random/harvest.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/random/harvest.c b/sys/dev/random/harvest.c
index fd94bd2..eb84268 100644
--- a/sys/dev/random/harvest.c
+++ b/sys/dev/random/harvest.c
@@ -128,7 +128,6 @@ void
random_set_wakeup_exit(void *control)
{
wakeup(control);
- mtx_lock(&Giant);
kthread_exit(0);
/* NOTREACHED */
}
OpenPOWER on IntegriCloud