Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern ubc_init needs to run while we're still cold or uvm...
details: https://anonhg.NetBSD.org/src/rev/5fb35b6e07a2
branches: trunk
changeset: 759747:5fb35b6e07a2
user: eeh <eeh%NetBSD.org@localhost>
date: Thu Dec 16 00:42:22 2010 +0000
description:
ubc_init needs to run while we're still cold or uvmhist breaks.
diffstat:
sys/kern/init_main.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r 4353f5d12df6 -r 5fb35b6e07a2 sys/kern/init_main.c
--- a/sys/kern/init_main.c Wed Dec 15 23:48:15 2010 +0000
+++ b/sys/kern/init_main.c Thu Dec 16 00:42:22 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: init_main.c,v 1.423 2010/08/21 13:17:31 pgoyette Exp $ */
+/* $NetBSD: init_main.c,v 1.424 2010/12/16 00:42:22 eeh Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.423 2010/08/21 13:17:31 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.424 2010/12/16 00:42:22 eeh Exp $");
#include "opt_ddb.h"
#include "opt_ipsec.h"
@@ -502,12 +502,12 @@
ssp_init();
+ ubc_init(); /* must be after autoconfig */
+
configure2();
/* Now timer is working. Enable preemption. */
kpreempt_enable();
- ubc_init(); /* must be after autoconfig */
-
#ifdef SYSVSHM
/* Initialize System V style shared memory. */
shminit();
Home |
Main Index |
Thread Index |
Old Index