aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/sched_sedf.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-10-21 09:43:35 +0200
committerJan Beulich <jbeulich@suse.com>2011-10-21 09:43:35 +0200
commitd4b41687ff590b3bf8ef0b2d5d9b0b1a15c0c10c (patch)
tree9921bad0084b6073901065f61168fed878e42e36 /xen/common/sched_sedf.c
parent985d4520485eaa412394a81b0bbb576f996d34b3 (diff)
downloadxen-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_sedf.c')
-rw-r--r--xen/common/sched_sedf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/sched_sedf.c b/xen/common/sched_sedf.c
index ae93f39420..6fe7ffa8b2 100644
--- a/xen/common/sched_sedf.c
+++ b/xen/common/sched_sedf.c
@@ -22,7 +22,7 @@
} while ( 0 )
#define SEDF_CPUONLINE(_pool) \
- (((_pool) == NULL) ? &cpupool_free_cpus : &(_pool)->cpu_valid)
+ (((_pool) == NULL) ? &cpupool_free_cpus : (_pool)->cpu_valid)
#ifndef NDEBUG
#define SEDF_STATS