From 55fda92f91a3cde46d7376fa3f0eed310f71ab46 Mon Sep 17 00:00:00 2001 From: Yoshihiro Takahashi Date: Sun, 11 Apr 2004 09:13:42 +0000 Subject: [PATCH] Fix pc98 build. --- sys/dev/random/probe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/random/probe.c b/sys/dev/random/probe.c index ef3ab01e8a8d..5cd1bddccf0f 100644 --- a/sys/dev/random/probe.c +++ b/sys/dev/random/probe.c @@ -35,7 +35,7 @@ __FBSDID("$FreeBSD$"); #include #include -#if defined(__i386__) +#if defined(__i386__) && !defined(PC98) #include #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);