summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/landisk/landisk/autoconf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/landisk/landisk/autoconf.c b/sys/arch/landisk/landisk/autoconf.c
index 6d510576386..09eaa6d5ef2 100644
--- a/sys/arch/landisk/landisk/autoconf.c
+++ b/sys/arch/landisk/landisk/autoconf.c
@@ -48,7 +48,7 @@
#include <machine/bootinfo.h>
#include <machine/intr.h>
-int cold;
+int cold = 1;
struct device *booted_device;
int booted_partition;
@@ -69,6 +69,8 @@ cpu_configure(void)
/* Configuration is finished, turn on interrupts. */
spl0();
+
+ cold = 0;
}
int