From d4b41687ff590b3bf8ef0b2d5d9b0b1a15c0c10c Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 21 Oct 2011 09:43:35 +0200 Subject: cpupools: allocate CPU masks dynamically Signed-off-by: Jan Beulich Acked-by: Keir Fraser --- xen/include/xen/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xen/include/xen/sched.h') diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h index 4b9dc56cfe..3ba5495d11 100644 --- a/xen/include/xen/sched.h +++ b/xen/include/xen/sched.h @@ -664,7 +664,7 @@ int cpupool_do_sysctl(struct xen_sysctl_cpupool_op *op); void schedule_dump(struct cpupool *c); extern void dump_runq(unsigned char key); -#define num_cpupool_cpus(c) (cpus_weight((c)->cpu_valid)) +#define num_cpupool_cpus(c) cpumask_weight((c)->cpu_valid) #endif /* __SCHED_H__ */ -- cgit v1.2.3