diff options
author | John Hawkes <hawkes@jackhammer.engr.sgi.com> | 2005-08-16 17:59:20 +1000 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-16 08:54:00 -0700 |
commit | 367ae3cd74bdc2ad32d71293427fec570b14ddcd (patch) | |
tree | c349e1884b336659738c286d7a8a3cb6afda714c /arch/ia64/kernel | |
parent | 58fcb8df0bf663bb6b8f46cd3010bfe8d13d97cf (diff) |
[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/kernel')
-rw-r--r-- | arch/ia64/kernel/domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/domain.c b/arch/ia64/kernel/domain.c index d65e87b6394..bbb8efe126b 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); |