Module Name: src Committed By: rmind Date: Mon May 19 23:33:19 UTC 2014
Modified Files: src/sys/kern: init_main.c Log Message: Move ipi_sysinit() after configure2(); we want secondary CPUs attached. Might revisit if the there will be a need to use this interface earlier. To generate a diff of this commit: cvs rdiff -u -r1.455 -r1.456 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.455 src/sys/kern/init_main.c:1.456 --- src/sys/kern/init_main.c:1.455 Mon May 19 22:47:54 2014 +++ src/sys/kern/init_main.c Mon May 19 23:33:19 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: init_main.c,v 1.455 2014/05/19 22:47:54 rmind Exp $ */ +/* $NetBSD: init_main.c,v 1.456 2014/05/19 23:33:19 rmind 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.455 2014/05/19 22:47:54 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.456 2014/05/19 23:33:19 rmind Exp $"); #include "opt_ddb.h" #include "opt_ipsec.h" @@ -308,7 +308,6 @@ main(void) uvm_init(); kcpuset_sysinit(); - ipi_sysinit(); prop_kern_init(); @@ -518,6 +517,9 @@ main(void) mm_init(); configure2(); + + ipi_sysinit(); + /* Now timer is working. Enable preemption. */ kpreempt_enable();