1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Fix pc98 build.

This commit is contained in:
Yoshihiro Takahashi 2004-04-11 09:13:42 +00:00
parent 8589938ec4
commit 55fda92f91
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128109

View File

@ -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);