diff options
Diffstat (limited to 'include/linux/timer.h')
-rw-r--r-- | include/linux/timer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/timer.h b/include/linux/timer.h index 20a6e7af5fd6..a6d04fb72c9e 100644 --- a/include/linux/timer.h +++ b/include/linux/timer.h | |||
@@ -17,7 +17,7 @@ struct timer_list { | |||
17 | */ | 17 | */ |
18 | struct hlist_node entry; | 18 | struct hlist_node entry; |
19 | unsigned long expires; | 19 | unsigned long expires; |
20 | void (*function)(unsigned long); | 20 | void (*function)(struct timer_list *); |
21 | u32 flags; | 21 | u32 flags; |
22 | 22 | ||
23 | #ifdef CONFIG_LOCKDEP | 23 | #ifdef CONFIG_LOCKDEP |
@@ -63,7 +63,7 @@ struct timer_list { | |||
63 | 63 | ||
64 | #define TIMER_TRACE_FLAGMASK (TIMER_MIGRATING | TIMER_DEFERRABLE | TIMER_PINNED | TIMER_IRQSAFE) | 64 | #define TIMER_TRACE_FLAGMASK (TIMER_MIGRATING | TIMER_DEFERRABLE | TIMER_PINNED | TIMER_IRQSAFE) |
65 | 65 | ||
66 | #define TIMER_DATA_TYPE unsigned long | 66 | #define TIMER_DATA_TYPE struct timer_list * |
67 | #define TIMER_FUNC_TYPE void (*)(TIMER_DATA_TYPE) | 67 | #define TIMER_FUNC_TYPE void (*)(TIMER_DATA_TYPE) |
68 | 68 | ||
69 | #define __TIMER_INITIALIZER(_function, _data, _flags) { \ | 69 | #define __TIMER_INITIALIZER(_function, _data, _flags) { \ |