summaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorJohn Hawkes <hawkes@jackhammer.engr.sgi.com>2005-08-16 17:59:20 +1000
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-16 08:54:00 -0700
commit367ae3cd74bdc2ad32d71293427fec570b14ddcd (patch)
treec349e1884b336659738c286d7a8a3cb6afda714c /arch/ia64
parent58fcb8df0bf663bb6b8f46cd3010bfe8d13d97cf (diff)
downloadblackbird-op-linux-367ae3cd74bdc2ad32d71293427fec570b14ddcd.tar.gz
blackbird-op-linux-367ae3cd74bdc2ad32d71293427fec570b14ddcd.zip
[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>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/kernel/domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/domain.c b/arch/ia64/kernel/domain.c
index d65e87b6394f..bbb8efe126b7 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);
OpenPOWER on IntegriCloud