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:
parent
c0c5d55c45
commit
c5616f2f87
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue