diff options
author | peter <peter@FreeBSD.org> | 1997-05-04 14:28:22 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-05-04 14:28:22 +0000 |
commit | 54dd93bb407328c3533e47adec79d4093395a2ea (patch) | |
tree | 23d5985b8e50370e287f626afd4da7715726e2b3 /sys/i386/isa/random_machdep.c | |
parent | 359b54a79ae3c04f11eea4ca6c0d9e266bfa0f70 (diff) | |
download | FreeBSD-src-54dd93bb407328c3533e47adec79d4093395a2ea.zip FreeBSD-src-54dd93bb407328c3533e47adec79d4093395a2ea.tar.gz |
don't #ifdef out reference to i586_ctr_freq.
Diffstat (limited to 'sys/i386/isa/random_machdep.c')
-rw-r--r-- | sys/i386/isa/random_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/random_machdep.c b/sys/i386/isa/random_machdep.c index 5fb9ef8..affe38f 100644 --- a/sys/i386/isa/random_machdep.c +++ b/sys/i386/isa/random_machdep.c @@ -1,7 +1,7 @@ /* * random_machdep.c -- A strong random number generator * - * $Id: random_machdep.c,v 1.15 1997/02/22 09:37:02 peter Exp $ + * $Id: random_machdep.c,v 1.16 1997/04/26 11:46:03 peter Exp $ * * Version 0.95, last modified 18-Oct-95 * @@ -192,7 +192,7 @@ add_timer_randomness(struct random_bucket *r, struct timer_rand_state *state, u_int nbits; u_int32_t time; -#if (defined(I586_CPU) || defined(I686_CPU)) && !defined(SMP) +#if defined(I586_CPU) || defined(I686_CPU) if (i586_ctr_freq != 0) { num ^= (u_int32_t) rdtsc() << 16; r->entropy_count += 2; @@ -204,7 +204,7 @@ add_timer_randomness(struct random_bucket *r, struct timer_rand_state *state, num ^= inb(TIMER_CNTR0) << 24; enable_intr(); r->entropy_count += 2; -#if (defined(I586_CPU) || defined(I686_CPU)) && !defined(SMP) +#if defined(I586_CPU) || defined(I686_CPU) } #endif |