ANDROID: FIXUP: sched/fair: Fix hang during suspend in compute_energy
authorTodd Kjos <tkjos@google.com>
Thu, 29 Mar 2018 20:35:50 +0000 (13:35 -0700)
committerTodd Kjos <tkjos@google.com>
Thu, 23 Aug 2018 22:47:43 +0000 (22:47 +0000)
BUG: 29353986
Change-Id: I0ad295fcb9134ee964cdd764e9038db3c25d91ba
Signed-off-by: Andres Oportus <andresoportus@google.com>
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
kernel/sched/fair.c

index 6d792b4cd645a0c58b771655836f64d24761f8d3..bf2b794dfc06cab927e3c24952453d88ef1b5700 100644 (file)
@@ -6311,6 +6311,7 @@ static int compute_energy(struct energy_env *eenv)
                        } while (sg = sg->next, sg != sd->groups);
                }
 next_cpu:
+               cpumask_clear_cpu(cpu, &visit_cpus);
                continue;
        }