diff options
| author | Jeff Garzik <jeff@garzik.org> | 2006-04-01 14:29:12 -0500 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-04-01 14:29:12 -0500 |
| commit | 6e07e16404deafadf45895a7d2aeb5feba53b479 (patch) | |
| tree | a7025d6632f0b3eb6232eafba79f331ead812fcf /include/linux/timer.h | |
| parent | 08a556db919f67e1e4d33ae8d40f7222da34d994 (diff) | |
| parent | e8e0619f68bff8f39d98c46aac85ed1d4557ccfd (diff) | |
Merge branch 'upstream'
Diffstat (limited to 'include/linux/timer.h')
| -rw-r--r-- | include/linux/timer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/timer.h b/include/linux/timer.h index b5caabca553c..0a485beba9f5 100644 --- a/include/linux/timer.h +++ b/include/linux/timer.h | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | #include <linux/spinlock.h> | 6 | #include <linux/spinlock.h> |
| 7 | #include <linux/stddef.h> | 7 | #include <linux/stddef.h> |
| 8 | 8 | ||
| 9 | struct timer_base_s; | 9 | struct tvec_t_base_s; |
| 10 | 10 | ||
| 11 | struct timer_list { | 11 | struct timer_list { |
| 12 | struct list_head entry; | 12 | struct list_head entry; |
| @@ -15,16 +15,16 @@ struct timer_list { | |||
| 15 | void (*function)(unsigned long); | 15 | void (*function)(unsigned long); |
| 16 | unsigned long data; | 16 | unsigned long data; |
| 17 | 17 | ||
| 18 | struct timer_base_s *base; | 18 | struct tvec_t_base_s *base; |
| 19 | }; | 19 | }; |
| 20 | 20 | ||
| 21 | extern struct timer_base_s __init_timer_base; | 21 | extern struct tvec_t_base_s boot_tvec_bases; |
| 22 | 22 | ||
| 23 | #define TIMER_INITIALIZER(_function, _expires, _data) { \ | 23 | #define TIMER_INITIALIZER(_function, _expires, _data) { \ |
| 24 | .function = (_function), \ | 24 | .function = (_function), \ |
| 25 | .expires = (_expires), \ | 25 | .expires = (_expires), \ |
| 26 | .data = (_data), \ | 26 | .data = (_data), \ |
| 27 | .base = &__init_timer_base, \ | 27 | .base = &boot_tvec_bases, \ |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | #define DEFINE_TIMER(_name, _function, _expires, _data) \ | 30 | #define DEFINE_TIMER(_name, _function, _expires, _data) \ |
