INIT_TIMER_KEY(9) Driver Basics INIT_TIMER_KEY(9)NAMEinit_timer_key - initialize a timer
SYNOPSIS
void init_timer_key(struct timer_list * timer, const char * name,
struct lock_class_key * key);
ARGUMENTS
timer
the timer to be initialized
name
name of the timer
key
lockdep class key of the fake lock used for tracking timer sync
lock dependencies
DESCRIPTIONinit_timer_key must be done to a timer prior calling *any* of the other
timer functions.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 INIT_TIMER_KEY(9)