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 add ncpuonline
details: https://anonhg.NetBSD.org/src/rev/55804b8dd3e1
branches: trunk
changeset: 340184:55804b8dd3e1
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Aug 25 14:47:39 2015 +0000
description:
add ncpuonline
diffstat:
sys/rump/librump/rumpkern/scheduler.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9159c61e1b66 -r 55804b8dd3e1 sys/rump/librump/rumpkern/scheduler.c
--- a/sys/rump/librump/rumpkern/scheduler.c Tue Aug 25 14:47:26 2015 +0000
+++ b/sys/rump/librump/rumpkern/scheduler.c Tue Aug 25 14:47:39 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scheduler.c,v 1.40 2015/04/22 16:01:07 pooka Exp $ */
+/* $NetBSD: scheduler.c,v 1.41 2015/08/25 14:47:39 pooka Exp $ */
/*
* Copyright (c) 2010, 2011 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scheduler.c,v 1.40 2015/04/22 16:01:07 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scheduler.c,v 1.41 2015/08/25 14:47:39 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -72,7 +72,7 @@
struct cpu_info *rump_cpu = &rump_cpus[0];
kcpuset_t *kcpuset_attached = NULL;
kcpuset_t *kcpuset_running = NULL;
-int ncpu;
+int ncpu, ncpuonline;
#define RCPULWP_BUSY ((void *)-1)
#define RCPULWP_WANTED ((void *)-2)
Home |
Main Index |
Thread Index |
Old Index