summaryrefslogtreecommitdiffstats
path: root/sys/dev/random/probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/random/probe.c')
-rw-r--r--sys/dev/random/probe.c4
1 files changed, 2 insertions, 2 deletions
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;
OpenPOWER on IntegriCloud