summaryrefslogtreecommitdiffstats
path: root/sys/kern/sched_4bsd.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-04-30 22:30:18 +0000
committerattilio <attilio@FreeBSD.org>2011-04-30 22:30:18 +0000
commitd0e06d02bc16b86afdae303a0b8a82812a55e8ac (patch)
tree4772046e2c0bb16bae1185d6731f46a473eaa0ea /sys/kern/sched_4bsd.c
parente85c7466a34ad29d9301b09a555dfaa96f7c408c (diff)
downloadFreeBSD-src-d0e06d02bc16b86afdae303a0b8a82812a55e8ac.zip
FreeBSD-src-d0e06d02bc16b86afdae303a0b8a82812a55e8ac.tar.gz
idle_cpus_mask is just used in the SMP case and within sched_4BSD.
Declare appropriately.
Diffstat (limited to 'sys/kern/sched_4bsd.c')
-rw-r--r--sys/kern/sched_4bsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c
index 9424f73..668ecd1 100644
--- a/sys/kern/sched_4bsd.c
+++ b/sys/kern/sched_4bsd.c
@@ -155,6 +155,8 @@ static struct runq runq;
*/
static struct runq runq_pcpu[MAXCPU];
long runq_length[MAXCPU];
+
+static cpumask_t idle_cpus_mask;
#endif
struct pcpuidlestat {
OpenPOWER on IntegriCloud