projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20ff638
)
sched/tune: Initialize raw_spin_lock in boosted_groups
author
Srinath Sridharan
<srinathsr@google.com>
Tue, 8 Nov 2016 22:53:44 +0000
(14:53 -0800)
committer
Amit Pundir
<amit.pundir@linaro.org>
Wed, 21 Jun 2017 11:07:44 +0000
(16:37 +0530)
bug:
32668852
Change-Id: Ice96230d88939d5973b1b6310085d1b3df9c47d9
Signed-off-by: Srinath Sridharan <srinathsr@google.com>
kernel/sched/tune.c
patch
|
blob
|
history
diff --git
a/kernel/sched/tune.c
b/kernel/sched/tune.c
index 9770cef183d0ddae090aa624c0fa1439f0178f17..5e81aaad5566fb3e3f86d36084e8dc0e303c2f6c 100644
(file)
--- a/
kernel/sched/tune.c
+++ b/
kernel/sched/tune.c
@@
-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;