Rev 4110 | Rev 4292 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4110 | Rev 4125 | ||
---|---|---|---|
Line 271... | Line 271... | ||
271 | struct list_head entry; |
271 | struct list_head entry; |
272 | unsigned long expires; |
272 | unsigned long expires; |
Line 273... | Line 273... | ||
273 | 273 | ||
274 | void (*function)(unsigned long); |
274 | void (*function)(unsigned long); |
275 | unsigned long data; |
- | |
276 | 275 | unsigned long data; |
|
277 | // struct tvec_base *base; |
276 | u32 handle; |
Line -... | Line 277... | ||
- | 277 | }; |
|
- | 278 | ||
- | 279 | #define setup_timer(_timer, _fn, _data) \ |
|
- | 280 | do { \ |
|
- | 281 | (_timer)->function = (_fn); \ |
|
- | 282 | (_timer)->data = (_data); \ |
|
- | 283 | (_timer)->handle = 0; \ |
|
- | 284 | } while (0) |
|
278 | }; |
285 | |
279 | 286 | ||
280 | struct timespec { |
287 | struct timespec { |
281 | long tv_sec; /* seconds */ |
288 | long tv_sec; /* seconds */ |