diff options
author | nyan <nyan@FreeBSD.org> | 2004-04-11 09:13:42 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2004-04-11 09:13:42 +0000 |
commit | 3341cc4adb28d03c2c544c42d2c3e10f3546606d (patch) | |
tree | 71f64d683ecbd971f06ec4eec15240fb34ada915 | |
parent | a095bff8784a51cd7ffb4aa12e66e1f14d642911 (diff) | |
download | FreeBSD-src-3341cc4adb28d03c2c544c42d2c3e10f3546606d.zip FreeBSD-src-3341cc4adb28d03c2c544c42d2c3e10f3546606d.tar.gz |
Fix pc98 build.
-rw-r--r-- | sys/dev/random/probe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/random/probe.c b/sys/dev/random/probe.c index ef3ab01..5cd1bdd 100644 --- a/sys/dev/random/probe.c +++ b/sys/dev/random/probe.c @@ -35,7 +35,7 @@ __FBSDID("$FreeBSD$"); #include <sys/stdint.h> #include <sys/sysctl.h> -#if defined(__i386__) +#if defined(__i386__) && !defined(PC98) #include <machine/cpufunc.h> #endif @@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$"); void random_ident_hardware(struct random_systat *systat) { -#if defined(__i386__) +#if defined(__i386__) && !defined(PC98) u_int regs[4]; #endif @@ -54,7 +54,7 @@ random_ident_hardware(struct random_systat *systat) *systat = random_yarrow; /* Then go looking for hardware */ -#if defined(__i386__) +#if defined(__i386__) && !defined(PC98) do_cpuid(1, regs); if ((regs[0] & 0xf) >= 3) { do_cpuid(0xc0000000, regs); |