diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-04-07 08:09:52 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-04-11 06:58:20 -0400 |
commit | a6c75f2f8d988ecfecf971f98f1cb6fc4de522fe (patch) | |
tree | 0524765c72bd13c0d4190c2dc17ac1a01c9269ad /kernel/sched_fair.c | |
parent | 822ff793c34a5d4c8b5f3f9ce932602233d96464 (diff) |
sched: Avoid using sd->level
Don't use sd->level for identifying properties of the domain.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Nick Piggin <npiggin@kernel.dk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20110407122942.350174079@chello.nl
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r-- | kernel/sched_fair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 4a8ac7c2a18e..9c5679cfe3b0 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -2651,7 +2651,7 @@ fix_small_capacity(struct sched_domain *sd, struct sched_group *group) | |||
2651 | /* | 2651 | /* |
2652 | * Only siblings can have significantly less than SCHED_LOAD_SCALE | 2652 | * Only siblings can have significantly less than SCHED_LOAD_SCALE |
2653 | */ | 2653 | */ |
2654 | if (sd->level != SD_LV_SIBLING) | 2654 | if (!(sd->flags & SD_SHARE_CPUPOWER)) |
2655 | return 0; | 2655 | return 0; |
2656 | 2656 | ||
2657 | /* | 2657 | /* |