diff options
Diffstat (limited to 'sys/dev/random')
-rw-r--r-- | sys/dev/random/ivy.c | 2 | ||||
-rw-r--r-- | sys/dev/random/probe.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/random/ivy.c b/sys/dev/random/ivy.c index 3f9de2d..f81c148 100644 --- a/sys/dev/random/ivy.c +++ b/sys/dev/random/ivy.c @@ -30,7 +30,7 @@ __FBSDID("$FreeBSD$"); #include "opt_cpu.h" -#ifdef IVY_RNG +#ifdef RDRAND_RNG #include <sys/param.h> #include <sys/time.h> diff --git a/sys/dev/random/probe.c b/sys/dev/random/probe.c index 3edfe09..4558db7 100644 --- a/sys/dev/random/probe.c +++ b/sys/dev/random/probe.c @@ -55,7 +55,7 @@ __FBSDID("$FreeBSD$"); #ifdef PADLOCK_RNG extern struct random_systat random_nehemiah; #endif -#ifdef IVY_RNG +#ifdef RDRAND_RNG extern struct random_systat random_ivy; #endif #endif @@ -79,7 +79,7 @@ random_ident_hardware(struct random_systat *systat) *systat = random_nehemiah; } #endif -#ifdef IVY_RNG +#ifdef RDRAND_RNG if (cpu_feature2 & CPUID2_RDRAND) { int enable; |