sched/topology: Fix build_sched_groups() comment
authorValentin Schneider <valentin.schneider@arm.com>
Tue, 9 Apr 2019 17:35:46 +0000 (18:35 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 10 Apr 2019 07:41:34 +0000 (09:41 +0200)
commitd8743230c9f4e92f370ecd2a90c680ddcede6ae5
tree95d2a492cd1f7f54ec0745ae53c004dfdcfc73b9
parent71b47eaf6fb29b7f9722dc1646c26eb8a96e0a6d
sched/topology: Fix build_sched_groups() comment

The comment was introduced (pre 2.6.12) by:

  8a7a2318dc07 ("[PATCH] sched: consolidate sched domains")

and referred to sched_group->cpu_power. This was folded into
sched_group->sched_group_power in

  commit 9c3f75cbd144 ("sched: Break out cpu_power from the sched_group structure")

The comment was then updated in:

  ced549fa5fc1 ("sched: Remove remaining dubious usage of "power"")

but should have replaced "sg->cpu_capacity" with
"sg->sched_group_capacity". Do that now.

Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Cc: Dietmar.Eggemann@arm.com
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: morten.rasmussen@arm.com
Cc: qais.yousef@arm.com
Link: http://lkml.kernel.org/r/20190409173546.4747-3-valentin.schneider@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/topology.c