mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-31 18:23:00 +09:00
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:
committed by
Andres Oportus
parent
c0c5d55c45
commit
c5616f2f87
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user