summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/i386/bios/mca_machdep.c5
-rw-r--r--sys/i386/isa/mca_machdep.c5
2 files changed, 6 insertions, 4 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;
diff --git a/sys/i386/isa/mca_machdep.c b/sys/i386/isa/mca_machdep.c
index 8eaf682..094b932 100644
--- a/sys/i386/isa/mca_machdep.c
+++ b/sys/i386/isa/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