summaryrefslogtreecommitdiffstats
path: root/sys/i386/bios
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>1999-09-03 03:14:36 +0000
committermdodd <mdodd@FreeBSD.org>1999-09-03 03:14:36 +0000
commitabf4cde6b9d36b514363f03cf32b9c7cad38887d (patch)
treeb203ae0b3255f84ab157df5c93236d152237f0de /sys/i386/bios
parent787d2575bc4a4fa6e8289b60ee2405e15fb0158b (diff)
downloadFreeBSD-src-abf4cde6b9d36b514363f03cf32b9c7cad38887d.zip
FreeBSD-src-abf4cde6b9d36b514363f03cf32b9c7cad38887d.tar.gz
SYSINIT() needs sys/kernel.h. Include it.
Diffstat (limited to 'sys/i386/bios')
-rw-r--r--sys/i386/bios/mca_machdep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/i386/bios/mca_machdep.c b/sys/i386/bios/mca_machdep.c
index 8eaf682..094b932 100644
--- a/sys/i386/bios/mca_machdep.c
+++ b/sys/i386/bios/mca_machdep.c
@@ -31,6 +31,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/kernel.h>
#include <vm/vm.h>
#include <vm/pmap.h>
#include <machine/pmap.h>
@@ -82,7 +83,7 @@ bios_mcabus_present(void * dummy)
if (bootverbose) {
printf("BIOS SDT: INT call failed.\n");
}
- return (0);
+ return;
}
if ((vmf.vmf_ah != 0) && (vmf.vmf_flags != 0)) {
@@ -91,7 +92,7 @@ bios_mcabus_present(void * dummy)
printf("BIOS SDT: AH 0x%02x, Flags 0x%04x\n",
vmf.vmf_ah, vmf.vmf_flags);
}
- return (0);
+ return;
}
paddr = vmf.vmf_es;
OpenPOWER on IntegriCloud