FIXUP: sched/fair: Fix hang during suspend in sched_group_energy
authorTodd Kjos <tkjos@google.com>
Thu, 16 Jun 2016 23:33:54 +0000 (16:33 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 14 Sep 2016 09:32:22 +0000 (15:02 +0530)
BUG: 29353986
Change-Id: I0d0d8d5c107a2e0bd219819e036091106bb40e11

kernel/sched/fair.c

index 8560a553003543bc614882df258e71768fccb0ad..a45a6e1a692c9a6e1f1823a7ce46c7cbb58accce 100644 (file)
@@ -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;
        }