Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern Restore placement of percpu_init i...



details:   https://anonhg.NetBSD.org/src/rev/d7aa9e3bb50d
branches:  trunk
changeset: 331571:d7aa9e3bb50d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Aug 14 16:28:49 2014 +0000

description:
Restore placement of percpu_init in rump_init.

Probably doesn't matter, but let's avoid needless churn around the
real bug fix.

diffstat:

 sys/rump/librump/rumpkern/rump.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 69ce0645a634 -r d7aa9e3bb50d sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Thu Aug 14 16:28:30 2014 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Thu Aug 14 16:28:49 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.309 2014/08/14 16:27:56 riastradh Exp $     */
+/*     $NetBSD: rump.c,v 1.310 2014/08/14 16:28:49 riastradh Exp $     */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.309 2014/08/14 16:27:56 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.310 2014/08/14 16:28:49 riastradh Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -286,8 +286,6 @@
        uvm_ra_init();
        uao_init();
 
-       percpu_init();
-
        mutex_obj_init();
        callout_startup();
 
@@ -327,6 +325,7 @@
        rump_schedule();
        bootlwp = curlwp;
 
+       percpu_init();
        inittimecounter();
        ntp_init();
 



Home | Main Index | Thread Index | Old Index