From: Todd Kjos Date: Thu, 16 Jun 2016 23:33:54 +0000 (-0700) Subject: FIXUP: sched/fair: Fix hang during suspend in sched_group_energy X-Git-Tag: firefly_0821_release~176^2~206 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=abdb60d816bfd20b8d4f61c3e7c95a61ad12212a;p=firefly-linux-kernel-4.4.55.git FIXUP: sched/fair: Fix hang during suspend in sched_group_energy BUG: 29353986 Change-Id: I0d0d8d5c107a2e0bd219819e036091106bb40e11 --- diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 8560a5530035..a45a6e1a692c 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -5001,6 +5001,7 @@ static int sched_group_energy(struct energy_env *eenv) } while (sg = sg->next, sg != sd->groups); } next_cpu: + cpumask_clear_cpu(cpu, &visit_cpus); continue; }