summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2005-05-29 22:45:36 +0000
committermarcel <marcel@FreeBSD.org>2005-05-29 22:45:36 +0000
commit0fc00302eaa6f42f67ce9c5fb33d59e92661bc43 (patch)
treeddaa2911856b3aab4e2e658e0b05f357181272e0 /sys/arm
parent97c1c8498d22a5fc59f0deaacbf4f1dc03335dfe (diff)
downloadFreeBSD-src-0fc00302eaa6f42f67ce9c5fb33d59e92661bc43.zip
FreeBSD-src-0fc00302eaa6f42f67ce9c5fb33d59e92661bc43.tar.gz
Call cninit_finish() and set cold to 0 in configure_final() instead
of in configure(). Call cninit_finish() before setting cold to 0. This is how it's done for other platforms. Be alike to avoid problems.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/autoconf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arm/arm/autoconf.c b/sys/arm/arm/autoconf.c
index 68b1829..bb89d58 100644
--- a/sys/arm/arm/autoconf.c
+++ b/sys/arm/arm/autoconf.c
@@ -87,12 +87,12 @@ configure(void *dummy)
device_add_child(root_bus, "nexus", 0);
root_bus_configure();
-
- cold = 0;
- cninit_finish();
}
static void
configure_final(void *dummy)
{
+
+ cninit_finish();
+ cold = 0;
}
OpenPOWER on IntegriCloud