From: John Hawkes Date: Tue, 16 Aug 2005 07:59:20 +0000 (+1000) Subject: [PATCH] fix for ia64 sched-domains code X-Git-Tag: v2.6.13-rc7~83 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=367ae3cd74bdc2ad32d71293427fec570b14ddcd;p=linux-2.6 [PATCH] fix for ia64 sched-domains code Fix for ia64 sched domain building triggered by cpuset code. Acked-by: Nick Piggin Acked-by: Dinakar Guniguntala Signed-off-by: Linus Torvalds --- diff --git a/arch/ia64/kernel/domain.c b/arch/ia64/kernel/domain.c index d65e87b639..bbb8efe126 100644 --- a/arch/ia64/kernel/domain.c +++ b/arch/ia64/kernel/domain.c @@ -341,7 +341,7 @@ next_sg: #endif /* Attach the domains */ - for_each_online_cpu(i) { + for_each_cpu_mask(i, *cpu_map) { struct sched_domain *sd; #ifdef CONFIG_SCHED_SMT sd = &per_cpu(cpu_domains, i);