Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Move ipi_sysinit() after configure2(); we want seco...



details:   https://anonhg.NetBSD.org/src/rev/32dccf891da9
branches:  trunk
changeset: 796094:32dccf891da9
user:      rmind <rmind%NetBSD.org@localhost>
date:      Mon May 19 23:33:19 2014 +0000

description:
Move ipi_sysinit() after configure2(); we want secondary CPUs attached.
Might revisit if the there will be a need to use this interface earlier.

diffstat:

 sys/kern/init_main.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r dc5f0640f369 -r 32dccf891da9 sys/kern/init_main.c
--- a/sys/kern/init_main.c      Mon May 19 23:13:46 2014 +0000
+++ b/sys/kern/init_main.c      Mon May 19 23:33:19 2014 +0000
@@ -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 @@
 
        uvm_init();
        kcpuset_sysinit();
-       ipi_sysinit();
 
        prop_kern_init();
 
@@ -518,6 +517,9 @@
        mm_init();
 
        configure2();
+
+       ipi_sysinit();
+
        /* Now timer is working.  Enable preemption. */
        kpreempt_enable();
 



Home | Main Index | Thread Index | Old Index