Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linuxkpi/common/include/linux/timer.h
Context not available. | |||||
#define setup_timer(timer, func, dat) do { \ | #define setup_timer(timer, func, dat) do { \ | ||||
(timer)->function = (func); \ | (timer)->function = (func); \ | ||||
(timer)->data = (dat); \ | (timer)->data = (dat); \ | ||||
callout_init(&(timer)->callout, 1); \ | callout_init(&(timer)->callout, 1); \ | ||||
} while (0) | } while (0) | ||||
#define __setup_timer(timer, func, dat, flags) do { \ | #define __setup_timer(timer, func, dat, flags) do { \ | ||||
Context not available. | |||||
#define init_timer(timer) do { \ | #define init_timer(timer) do { \ | ||||
(timer)->function = NULL; \ | (timer)->function = NULL; \ | ||||
(timer)->data = 0; \ | (timer)->data = 0; \ | ||||
callout_init(&(timer)->callout, 1); \ | callout_init(&(timer)->callout, 1); \ | ||||
} while (0) | } while (0) | ||||
extern void mod_timer(struct timer_list *, int); | extern void mod_timer(struct timer_list *, int); | ||||
Context not available. |