diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2012-02-23 00:52:27 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2012-02-23 00:52:27 +0000 |
| commit | 09ba7d8b95fe1264ca674ac9b66f8b6ec31442eb (patch) | |
| tree | 71a41f8cd12dc34f20692c9e9eba03ae0c62ae6b /sys/dev/random | |
| parent | 1587db4083dc4a88cc0268a87934a01a507664ab (diff) | |
Notes
Diffstat (limited to 'sys/dev/random')
| -rw-r--r-- | sys/dev/random/probe.c | 4 |
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; } |
