Skip to contentSkip to conversation

ARM: topology: Fix minor typo in comment

PATCH New Yang Yooseok 1 participant 1 message Nov 5, 2017 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: topology: Fix minor typo in comment

The middle efficiency should be an average of two efficiency values, so the fomula in comment is modified.

---
 arch/arm/kernel/topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/kernel/topology.c +1 -1
index 24ac3cab411d..d8a4619c86b8 100644
@@ -77,7 +77,7 @@ static bool cap_from_dt = true;
 /*
  * Iterate all CPUs' descriptor in DT and compute the efficiency
  * (as per table_efficiency). Also calculate a middle efficiency
- * as close as possible to  (max{eff_i} - min{eff_i}) / 2
+ * as close as possible to  (max{eff_i} + min{eff_i}) / 2
  * This is later used to scale the cpu_capacity field such that an
  * 'average' CPU is of middle capacity. Also see the comments near
  * table_efficiency[] and update_cpu_capacity().
Signature · 1 line
2.13.1