Module Name: src Committed By: eeh Date: Thu Dec 16 00:42:22 UTC 2010
Modified Files: src/sys/kern: init_main.c Log Message: ubc_init needs to run while we're still cold or uvmhist breaks. To generate a diff of this commit: cvs rdiff -u -r1.423 -r1.424 src/sys/kern/init_main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/init_main.c diff -u src/sys/kern/init_main.c:1.423 src/sys/kern/init_main.c:1.424 --- src/sys/kern/init_main.c:1.423 Sat Aug 21 13:17:31 2010 +++ src/sys/kern/init_main.c Thu Dec 16 00:42:22 2010 @@ -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();