]> err.no Git - linux-2.6/commitdiff
[PATCH] fix for ia64 sched-domains code
authorJohn Hawkes <hawkes@jackhammer.engr.sgi.com>
Tue, 16 Aug 2005 07:59:20 +0000 (17:59 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 16 Aug 2005 15:54:00 +0000 (08:54 -0700)
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>
arch/ia64/kernel/domain.c

index d65e87b6394fa2c636f9593718f6e84f29c9804c..bbb8efe126b716b0851102f133480abc5729f57b 100644 (file)
@@ -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);