aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/random
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2012-02-23 00:52:27 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2012-02-23 00:52:27 +0000
commit09ba7d8b95fe1264ca674ac9b66f8b6ec31442eb (patch)
tree71a41f8cd12dc34f20692c9e9eba03ae0c62ae6b /sys/dev/random
parent1587db4083dc4a88cc0268a87934a01a507664ab (diff)
Notes
Diffstat (limited to 'sys/dev/random')
-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 264f9d594070..0bbfd95c68d8 100644
--- a/sys/dev/random/probe.c
+++ b/sys/dev/random/probe.c
@@ -36,7 +36,7 @@ __FBSDID("$FreeBSD$");
#include <sys/stdint.h>
#include <sys/sysctl.h>
-#if defined(__i386__) && !defined(PC98)
+#if defined(__amd64__) || (defined(__i386__) && !defined(PC98))
#include <machine/cpufunc.h>
#include <machine/cputypes.h>
#include <machine/md_var.h>
@@ -55,7 +55,7 @@ random_ident_hardware(struct random_systat *systat)
*systat = random_yarrow;
/* Then go looking for hardware */
-#if defined(__i386__) && !defined(PC98)
+#if defined(__amd64__) || (defined(__i386__) && !defined(PC98))
if (via_feature_rng & VIA_HAS_RNG) {
*systat = random_nehemiah;
}