1INIT_TIMER_KEY(9) Driver Basics INIT_TIMER_KEY(9)
2
3
4
6 init_timer_key - initialize a timer
7
9 void init_timer_key(struct timer_list * timer, const char * name,
10 struct lock_class_key * key);
11
13 timer
14 the timer to be initialized
15
16 name
17 name of the timer
18
19 key
20 lockdep class key of the fake lock used for tracking timer sync
21 lock dependencies
22
24 init_timer_key must be done to a timer prior calling *any* of the other
25 timer functions.
26
28Kernel Hackers Manual 2.6. November 2011 INIT_TIMER_KEY(9)