mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
timer: Initialize the field slack of timer_list
TIMER_INITIALIZER() should initialize the field slack of timer_list as __init_timer() does. Signed-off-by: Changli Gao <[email protected]> Cc: Arjan van de Ven <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
1 parent
d0959024d8
commit
aaabe31c25
1 file changed
+1
@@ -54,6 +54,7 @@ extern struct tvec_base boot_tvec_bases;
|
||||
.expires = (_expires), \
|
||||
.data = (_data), \
|
||||
.base = &boot_tvec_bases, \
|
||||
.slack = -1, \
|
||||
__TIMER_LOCKDEP_MAP_INITIALIZER( \
|
||||
__FILE__ ":" __stringify(__LINE__)) \
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user