timer: Export destroy_hrtimer_on_stack()
hrtimer_init_on_stack() needs a matching call to destroy_hrtimer_on_stack(), so both need to be exported. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
0e6b525982
commit
c08376ac97
@ -425,6 +425,7 @@ void destroy_hrtimer_on_stack(struct hrtimer *timer)
|
|||||||
{
|
{
|
||||||
debug_object_free(timer, &hrtimer_debug_descr);
|
debug_object_free(timer, &hrtimer_debug_descr);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(destroy_hrtimer_on_stack);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
static inline void debug_hrtimer_init(struct hrtimer *timer) { }
|
static inline void debug_hrtimer_init(struct hrtimer *timer) { }
|
||||||
|
Reference in New Issue
Block a user