From 6a63c27542fc7b432ed438ce1d62243b5aebc3da Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 27 Jul 2017 12:19:09 -0400 Subject: sched: Support adding timers to the start of timer_list If sched_add_timer() is called on a timer that would make it the new head of the list, then add it and signal the board code that the timer should be rescheduled. Signed-off-by: Kevin O'Connor --- src/generic/timer_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/generic/timer_irq.c') diff --git a/src/generic/timer_irq.c b/src/generic/timer_irq.c index 6c14f9ae..127601e2 100644 --- a/src/generic/timer_irq.c +++ b/src/generic/timer_irq.c @@ -10,7 +10,7 @@ #include "board/timer_irq.h" // timer_dispatch_many #include "basecmd.h" // stats_note_sleep #include "command.h" // shutdown -#include "sched.h" // sched_timer_kick +#include "sched.h" // sched_timer_dispatch DECL_CONSTANT(CLOCK_FREQ, CONFIG_CLOCK_FREQ); -- cgit v1.2.3-70-g09d2