aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/timer.h')
-rw-r--r--include/linux/timer.h10
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);
61extern int __mod_timer(struct timer_list *timer, unsigned long expires); 61extern int __mod_timer(struct timer_list *timer, unsigned long expires);
62extern int mod_timer(struct timer_list *timer, unsigned long expires); 62extern int mod_timer(struct timer_list *timer, unsigned long expires);
63 63
64/*
65 * Return when the next timer-wheel timeout occurs (in absolute jiffies),
66 * locks the timer base:
67 */
64extern unsigned long next_timer_interrupt(void); 68extern unsigned long next_timer_interrupt(void);
69/*
70 * Return when the next timer-wheel timeout occurs (in absolute jiffies),
71 * locks the timer base and does the comparison against the given
72 * jiffie.
73 */
74extern unsigned long get_next_timer_interrupt(unsigned long now);
65 75
66/** 76/**
67 * add_timer - start a timer 77 * add_timer - start a timer