From 3f5daa54345bfdf55e38f3c8598bb69304891b33 Mon Sep 17 00:00:00 2001 From: Todd Kjos Date: Thu, 29 Mar 2018 13:35:50 -0700 Subject: [PATCH] ANDROID: FIXUP: sched/fair: Fix hang during suspend in compute_energy BUG: 29353986 Change-Id: I0ad295fcb9134ee964cdd764e9038db3c25d91ba Signed-off-by: Andres Oportus Signed-off-by: Puja Gupta --- kernel/sched/fair.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 6d792b4cd645..bf2b794dfc06 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -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; } -- 2.20.1