|
@@ -73,18 +73,6 @@ struct timer_list {
|
|
|
__FILE__ ":" __stringify(__LINE__)) \
|
|
|
}
|
|
|
|
|
|
-#define TIMER_INITIALIZER(_function, _expires, _data) \
|
|
|
- __TIMER_INITIALIZER((_function), (_expires), (_data), 0)
|
|
|
-
|
|
|
-#define TIMER_PINNED_INITIALIZER(_function, _expires, _data) \
|
|
|
- __TIMER_INITIALIZER((_function), (_expires), (_data), TIMER_PINNED)
|
|
|
-
|
|
|
-#define TIMER_DEFERRED_INITIALIZER(_function, _expires, _data) \
|
|
|
- __TIMER_INITIALIZER((_function), (_expires), (_data), TIMER_DEFERRABLE)
|
|
|
-
|
|
|
-#define TIMER_PINNED_DEFERRED_INITIALIZER(_function, _expires, _data) \
|
|
|
- __TIMER_INITIALIZER((_function), (_expires), (_data), TIMER_DEFERRABLE | TIMER_PINNED)
|
|
|
-
|
|
|
#define DEFINE_TIMER(_name, _function, _expires, _data) \
|
|
|
struct timer_list _name = \
|
|
|
__TIMER_INITIALIZER(_function, _expires, _data, 0)
|