summaryrefslogtreecommitdiffstats
path: root/sys/dev/random/random_harvestq.h
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2013-10-06 12:40:32 +0000
committermarkm <markm@FreeBSD.org>2013-10-06 12:40:32 +0000
commit0643acd34d203434b5eee69085ba0e8f884f5ab5 (patch)
treeafae865a17396fb82caf2f596222c496e4eac5e7 /sys/dev/random/random_harvestq.h
parentfa3a3d91b58a86d49ce10b7655012d7c1169da9a (diff)
downloadFreeBSD-src-0643acd34d203434b5eee69085ba0e8f884f5ab5.zip
FreeBSD-src-0643acd34d203434b5eee69085ba0e8f884f5ab5.tar.gz
Debug run. This now works, except that the "live" sources haven't
been tested. With all sources turned on, this unlocks itself in a couple of seconds! That is no my box, and there is no guarantee that this will be the case everywhere. * Cut debug prints. * Use the same locks/mutexes all the way through. * Be a tad more conservative about entropy estimates.
Diffstat (limited to 'sys/dev/random/random_harvestq.h')
-rw-r--r--sys/dev/random/random_harvestq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/random/random_harvestq.h b/sys/dev/random/random_harvestq.h
index 11ccfc4..f4e9bb1 100644
--- a/sys/dev/random/random_harvestq.h
+++ b/sys/dev/random/random_harvestq.h
@@ -37,5 +37,6 @@ void random_harvestq_internal(u_int64_t, const void *,
u_int, u_int, enum esource);
extern int random_kthread_control;
+extern struct mtx harvest_mtx;
#endif /* __RANDOM_HARVEST_H__ */
OpenPOWER on IntegriCloud