ANDROID: sched/tune: Initialize raw_spin_lock in boosted_groups

bug: 32668852
Change-Id: Ice96230d88939d5973b1b6310085d1b3df9c47d9
Signed-off-by: Srinath Sridharan <srinathsr@google.com>
Signed-off-by: Quentin Perret <quentin.perret@arm.com>
This commit is contained in:
Srinath Sridharan
2016-11-08 14:53:44 -08:00
committed by Andres Oportus
parent c0c5d55c45
commit c5616f2f87

View File

@@ -640,6 +640,7 @@ schedtune_boostgroup_init(struct schedtune *st)
bg = &per_cpu(cpu_boost_groups, cpu);
bg->group[st->idx].boost = 0;
bg->group[st->idx].tasks = 0;
raw_spin_lock_init(&bg->lock);
}
return 0;