diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/timer.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/timer.h b/include/linux/timer.h index fb5edaaf0ebd..bd0af324fd48 100644 --- a/include/linux/timer.h +++ b/include/linux/timer.h @@ -61,7 +61,17 @@ extern int del_timer(struct timer_list * timer); extern int __mod_timer(struct timer_list *timer, unsigned long expires); extern int mod_timer(struct timer_list *timer, unsigned long expires); +/* + * Return when the next timer-wheel timeout occurs (in absolute jiffies), + * locks the timer base: + */ extern unsigned long next_timer_interrupt(void); +/* + * Return when the next timer-wheel timeout occurs (in absolute jiffies), + * locks the timer base and does the comparison against the given + * jiffie. + */ +extern unsigned long get_next_timer_interrupt(unsigned long now); /** * add_timer - start a timer |