timer: Add a global deferrable timer
Add a global deferrable timer in addition to the per-cpu deferrable timer to allow deferrable timers without the TIMER_PINNED flag to run on any active CPU. [rishabhb@codeaurora.org: Resolved conflicts in kernel/time/timer.c] Change-Id: I8e6b77cef972589912ad18f324c46c936fbbb96f Signed-off-by: Kyle Yan <kyan@codeaurora.org> Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org> Signed-off-by: Elliot Berman <eberman@codeaurora.org>
This commit is contained in:
@@ -172,6 +172,8 @@ extern void add_timer(struct timer_list *timer);
|
||||
|
||||
extern int try_to_del_timer_sync(struct timer_list *timer);
|
||||
|
||||
extern struct timer_base timer_base_deferrable;
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
extern int del_timer_sync(struct timer_list *timer);
|
||||
#else
|
||||
|
Reference in New Issue
Block a user