diff options
author | Jan Beulich <jbeulich@suse.com> | 2011-10-21 09:43:35 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2011-10-21 09:43:35 +0200 |
commit | d4b41687ff590b3bf8ef0b2d5d9b0b1a15c0c10c (patch) | |
tree | 9921bad0084b6073901065f61168fed878e42e36 /xen/common/sched_credit2.c | |
parent | 985d4520485eaa412394a81b0bbb576f996d34b3 (diff) | |
download | xen-d4b41687ff590b3bf8ef0b2d5d9b0b1a15c0c10c.tar.gz xen-d4b41687ff590b3bf8ef0b2d5d9b0b1a15c0c10c.tar.bz2 xen-d4b41687ff590b3bf8ef0b2d5d9b0b1a15c0c10c.zip |
cpupools: allocate CPU masks dynamically
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/sched_credit2.c')
-rw-r--r-- | xen/common/sched_credit2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/sched_credit2.c b/xen/common/sched_credit2.c index e9c450cbf6..6e09c84ed6 100644 --- a/xen/common/sched_credit2.c +++ b/xen/common/sched_credit2.c @@ -176,7 +176,7 @@ integer_param("sched_credit2_migrate_resist", opt_migrate_resist); #define CSCHED_VCPU(_vcpu) ((struct csched_vcpu *) (_vcpu)->sched_priv) #define CSCHED_DOM(_dom) ((struct csched_dom *) (_dom)->sched_priv) #define CSCHED_CPUONLINE(_pool) \ - (((_pool) == NULL) ? &cpupool_free_cpus : &(_pool)->cpu_valid) + (((_pool) == NULL) ? &cpupool_free_cpus : (_pool)->cpu_valid) /* CPU to runq_id macro */ #define c2r(_ops, _cpu) (CSCHED_PRIV(_ops)->runq_map[(_cpu)]) /* CPU to runqueue struct macro */ |