diff options
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r-- | sys/kern/subr_disk.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index 960f4f6d715..6caec0043fe 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -56,6 +56,8 @@ #include <sys/dkio.h> #include <sys/dkstat.h> /* XXX */ +#include <dev/rndvar.h> + /* * A global list of all disks attached to the system. May grow or * shrink over time. @@ -390,6 +392,8 @@ disk_unbusy(diskp, bcount) diskp->dk_xfer++; } diskp->dk_seek++; + + add_disk_randomness(bcount ^ diff_time.tv_usec); } /* |