[PATCH] fix for ia64 sched-domains code
Fix for ia64 sched domain building triggered by cpuset code. Acked-by: Nick Piggin <npiggin@suse.de> Acked-by: Dinakar Guniguntala <dino@in.ibm.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
58fcb8df0b
commit
367ae3cd74
@ -341,7 +341,7 @@ next_sg:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Attach the domains */
|
/* Attach the domains */
|
||||||
for_each_online_cpu(i) {
|
for_each_cpu_mask(i, *cpu_map) {
|
||||||
struct sched_domain *sd;
|
struct sched_domain *sd;
|
||||||
#ifdef CONFIG_SCHED_SMT
|
#ifdef CONFIG_SCHED_SMT
|
||||||
sd = &per_cpu(cpu_domains, i);
|
sd = &per_cpu(cpu_domains, i);
|
||||||
|
Reference in New Issue
Block a user