drivers: soc: qcom: switch to cached rbtree root for timerqueue
Following upstream commit ef2e6403, adapt the timerqueue_head to
use the cached rbtree.
Change-Id: Ic00e382de64e190d0a2057fa53478ca9b9b7d4c4
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
This commit is contained in:
committed by
Bruno Martins
parent
c4dd26e62b
commit
fbe241ba61
@@ -51,8 +51,7 @@ struct hrtimer_info {
|
||||
static DEFINE_PER_CPU(struct hrtimer_info, per_cpu_hrtimer);
|
||||
|
||||
static DEFINE_PER_CPU(struct timerqueue_head, timer_head) = {
|
||||
.head = RB_ROOT,
|
||||
.next = NULL,
|
||||
.rb_root = RB_ROOT_CACHED,
|
||||
};
|
||||
|
||||
static DEFINE_SPINLOCK(event_timer_lock);
|
||||
|
||||
Reference in New Issue
Block a user