diff options
Diffstat (limited to 'xen/include/xen/sched.h')
-rw-r--r-- | xen/include/xen/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
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__ */ |