Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 913a0c88 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: sched_avg: Fix sched_get_nr_running_avg for tri-cluster systems" into msm-4.14

parents f5c2e609 de366870
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2012, 2015-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012, 2015-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -89,7 +89,7 @@ void sched_get_nr_running_avg(int *avg, int *iowait_avg, int *big_avg,
		if (*max_nr < per_cpu(nr_max, cpu))
			*max_nr = per_cpu(nr_max, cpu);

		if (is_max_capacity_cpu(cpu)) {
		if (!is_min_capacity_cpu(cpu)) {
			if (*big_max_nr < per_cpu(nr_max, cpu))
				*big_max_nr = per_cpu(nr_max, cpu);
		}