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 initialize ncpuonline



details:   https://anonhg.NetBSD.org/src/rev/6eba6f19b9a8
branches:  trunk
changeset: 810329:6eba6f19b9a8
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Aug 25 14:53:25 2015 +0000

description:
initialize ncpuonline

diffstat:

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

diffs (26 lines):

diff -r 190c26dae311 -r 6eba6f19b9a8 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Tue Aug 25 14:52:59 2015 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Tue Aug 25 14:53:25 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.323 2015/08/25 14:52:59 pooka Exp $ */
+/*     $NetBSD: rump.c,v 1.324 2015/08/25 14:53:25 pooka 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.323 2015/08/25 14:52:59 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.324 2015/08/25 14:53:25 pooka Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -384,6 +384,7 @@
 
                aprint_verbose("cpu%d at thinair0: rump virtual cpu\n", i);
        }
+       ncpuonline = ncpu;
 
        /* Once all CPUs are detected, initialize the per-CPU cprng_fast.  */
        cprng_fast_init();



Home | Main Index | Thread Index | Old Index