diff options
author | phk <phk@FreeBSD.org> | 1998-06-07 08:40:53 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-06-07 08:40:53 +0000 |
commit | 19aada20841e80ea382a04c0f7cf480d899ba74d (patch) | |
tree | 07569a723ebb168a00e376ba072d23908df43488 /sys/kern/kern_random.c | |
parent | 2113d2ba5a8a1fe28707302d7ac632886660181c (diff) | |
download | FreeBSD-src-19aada20841e80ea382a04c0f7cf480d899ba74d.zip FreeBSD-src-19aada20841e80ea382a04c0f7cf480d899ba74d.tar.gz |
Add a "this" style argument and a "void *private" so timecounters can
figure out which instance to wount with.
Diffstat (limited to 'sys/kern/kern_random.c')
-rw-r--r-- | sys/kern/kern_random.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_random.c b/sys/kern/kern_random.c index e87a9d9..be9f952 100644 --- a/sys/kern/kern_random.c +++ b/sys/kern/kern_random.c @@ -1,7 +1,7 @@ /* * random_machdep.c -- A strong random number generator * - * $Id: random_machdep.c,v 1.24 1998/04/06 09:30:32 phk Exp $ + * $Id: random_machdep.c,v 1.25 1998/04/15 17:45:44 bde Exp $ * * Version 0.95, last modified 18-Oct-95 * @@ -184,7 +184,7 @@ add_timer_randomness(struct random_bucket *r, struct timer_rand_state *state, u_int nbits; u_int32_t time; - num ^= timecounter->get_timecount() << 16; + num ^= timecounter->get_timecount(timecounter) << 16; r->entropy_count += 2; time = ticks; |