diff options
| author | Steve French <sfrench@us.ibm.com> | 2006-03-30 22:35:56 -0500 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2006-03-30 22:35:56 -0500 |
| commit | d62e54abca1146981fc9f98f85ff398a113a22c2 (patch) | |
| tree | 870420dbc4c65e716dcef8a802aafdc0ef97a8b4 /include/linux/timer.h | |
| parent | fd4a0b92db6a57cba8d03efbe1cebf91f9124ce0 (diff) | |
| parent | ce362c009250340358a7221f3cdb7954cbf19c01 (diff) | |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'include/linux/timer.h')
| -rw-r--r-- | include/linux/timer.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/linux/timer.h b/include/linux/timer.h index 9b9877fd2505..b5caabca553c 100644 --- a/include/linux/timer.h +++ b/include/linux/timer.h | |||
| @@ -69,13 +69,13 @@ extern unsigned long next_timer_interrupt(void); | |||
| 69 | * @timer: the timer to be added | 69 | * @timer: the timer to be added |
| 70 | * | 70 | * |
| 71 | * The kernel will do a ->function(->data) callback from the | 71 | * The kernel will do a ->function(->data) callback from the |
| 72 | * timer interrupt at the ->expired point in the future. The | 72 | * timer interrupt at the ->expires point in the future. The |
| 73 | * current time is 'jiffies'. | 73 | * current time is 'jiffies'. |
| 74 | * | 74 | * |
| 75 | * The timer's ->expired, ->function (and if the handler uses it, ->data) | 75 | * The timer's ->expires, ->function (and if the handler uses it, ->data) |
| 76 | * fields must be set prior calling this function. | 76 | * fields must be set prior calling this function. |
| 77 | * | 77 | * |
| 78 | * Timers with an ->expired field in the past will be executed in the next | 78 | * Timers with an ->expires field in the past will be executed in the next |
| 79 | * timer tick. | 79 | * timer tick. |
| 80 | */ | 80 | */ |
| 81 | static inline void add_timer(struct timer_list *timer) | 81 | static inline void add_timer(struct timer_list *timer) |
| @@ -96,6 +96,7 @@ static inline void add_timer(struct timer_list *timer) | |||
| 96 | 96 | ||
| 97 | extern void init_timers(void); | 97 | extern void init_timers(void); |
| 98 | extern void run_local_timers(void); | 98 | extern void run_local_timers(void); |
| 99 | extern int it_real_fn(void *); | 99 | struct hrtimer; |
| 100 | extern int it_real_fn(struct hrtimer *); | ||
| 100 | 101 | ||
| 101 | #endif | 102 | #endif |
