summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/autoconf.c3
-rw-r--r--sys/arch/i386/i386/machdep.c4
-rw-r--r--sys/arch/i386/isa/isa_machdep.c3
3 files changed, 3 insertions, 7 deletions
diff --git a/sys/arch/i386/i386/autoconf.c b/sys/arch/i386/i386/autoconf.c
index 865cc5bf524..149bcb3cec2 100644
--- a/sys/arch/i386/i386/autoconf.c
+++ b/sys/arch/i386/i386/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.35 2001/05/05 22:33:44 art Exp $ */
+/* $OpenBSD: autoconf.c,v 1.36 2001/06/25 00:43:11 mickey Exp $ */
/* $NetBSD: autoconf.c,v 1.20 1996/05/03 19:41:56 christos Exp $ */
/*-
@@ -73,7 +73,6 @@ void diskconf __P((void));
* the configuration process, and are used in initializing
* the machine.
*/
-extern int cold; /* cold start flag initialized in locore.s */
dev_t bootdev = 0; /* bootdevice, initialized in locore.s */
/*
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index 620f5d5c242..d1040668a60 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.163 2001/06/08 08:08:51 art Exp $ */
+/* $OpenBSD: machdep.c,v 1.164 2001/06/25 00:43:11 mickey Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -1591,8 +1591,6 @@ void
boot(howto)
int howto;
{
- extern int cold;
-
if (cold) {
howto |= RB_HALT;
goto haltsys;
diff --git a/sys/arch/i386/isa/isa_machdep.c b/sys/arch/i386/isa/isa_machdep.c
index c94cea7cc40..afb1ae510e1 100644
--- a/sys/arch/i386/isa/isa_machdep.c
+++ b/sys/arch/i386/isa/isa_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isa_machdep.c,v 1.36 2001/06/08 08:08:55 art Exp $ */
+/* $OpenBSD: isa_machdep.c,v 1.37 2001/06/25 00:43:12 mickey Exp $ */
/* $NetBSD: isa_machdep.c,v 1.22 1997/06/12 23:57:32 thorpej Exp $ */
#define ISA_DMA_STATS
@@ -491,7 +491,6 @@ isa_intr_establish(ic, irq, type, level, ih_fun, ih_arg, ih_what)
{
struct intrhand **p, *q, *ih;
static struct intrhand fakehand = {fakeintr};
- extern int cold;
/* no point in sleeping unless someone can free memory. */
ih = malloc(sizeof *ih, M_DEVBUF, cold ? M_NOWAIT : M_WAITOK);