timer: Export destroy_hrtimer_on_stack()
authorGuenter Roeck <linux@roeck-us.net>
Fri, 27 May 2016 00:21:05 +0000 (17:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 May 2016 18:44:08 +0000 (11:44 -0700)
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>
kernel/time/hrtimer.c

index 8c7392c..e99df0f 100644 (file)
@@ -425,6 +425,7 @@ void destroy_hrtimer_on_stack(struct hrtimer *timer)
 {
        debug_object_free(timer, &hrtimer_debug_descr);
 }
+EXPORT_SYMBOL_GPL(destroy_hrtimer_on_stack);
 
 #else
 static inline void debug_hrtimer_init(struct hrtimer *timer) { }