summaryrefslogtreecommitdiffstats
path: root/sys/dev/random/hash.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-11-25 17:09:01 +0000
committermarkm <markm@FreeBSD.org>2000-11-25 17:09:01 +0000
commit9ec7bc0451ec7ffe96d31c1c0e6d1c7b4ddc709c (patch)
treec4e38c6e58dc3b98f0eba6228af546879a85b7ed /sys/dev/random/hash.c
parent64d964e98ea77870092686823e5dde13a5a24ccb (diff)
downloadFreeBSD-src-9ec7bc0451ec7ffe96d31c1c0e6d1c7b4ddc709c.zip
FreeBSD-src-9ec7bc0451ec7ffe96d31c1c0e6d1c7b4ddc709c.tar.gz
Stop explicitly using nanotime(9) and use the new get_cyclecounter(9)
call instead. This makes a pretty dramatic difference to the amount of work that the harvester needs to do - it is much friendlier on the system. (80386 and 80486 class machines will notice little, as the new get_cyclecounter() call is a wrapper round nanotime(9) for them).
Diffstat (limited to 'sys/dev/random/hash.c')
-rw-r--r--sys/dev/random/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/hash.c b/sys/dev/random/hash.c
index 47bf7c2..fbd1163 100644
--- a/sys/dev/random/hash.c
+++ b/sys/dev/random/hash.c
@@ -31,8 +31,8 @@
#include <sys/queue.h>
#include <sys/libkern.h>
#include <sys/random.h>
-#include <sys/time.h>
#include <sys/types.h>
+
#include <crypto/blowfish/blowfish.h>
#include <dev/random/hash.h>
OpenPOWER on IntegriCloud