mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 02:34:01 +08: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 <xiaosuo@gmail.com> Cc: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
d0959024d8
commit
aaabe31c25
@ -54,6 +54,7 @@ extern struct tvec_base boot_tvec_bases;
|
|||||||
.expires = (_expires), \
|
.expires = (_expires), \
|
||||||
.data = (_data), \
|
.data = (_data), \
|
||||||
.base = &boot_tvec_bases, \
|
.base = &boot_tvec_bases, \
|
||||||
|
.slack = -1, \
|
||||||
__TIMER_LOCKDEP_MAP_INITIALIZER( \
|
__TIMER_LOCKDEP_MAP_INITIALIZER( \
|
||||||
__FILE__ ":" __stringify(__LINE__)) \
|
__FILE__ ":" __stringify(__LINE__)) \
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user