diff options
Diffstat (limited to 'xen/common/schedule.c')
-rw-r--r-- | xen/common/schedule.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xen/common/schedule.c b/xen/common/schedule.c index c07d6f0f98..0455619ac2 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -538,11 +538,8 @@ int cpu_disable_scheduler(unsigned int cpu) if ( c == NULL ) return ret; - for_each_domain ( d ) + for_each_domain_in_cpupool ( d, c ) { - if ( d->cpupool != c ) - continue; - affinity_broken = 0; for_each_vcpu ( d, v ) |