summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-05-27 02:21:05 +0200
committerDavid S. Miller <davem@davemloft.net>2016-05-31 20:44:08 +0200
commitc08376ac97cb202ec65320f3d90d5c4c5e2adb0b (patch)
tree9ab1668d2c88c9cc6d51277d23c75c5aebbac8ca
parentnet: l2tp: Make l2tp_ip6 namespace aware (diff)
downloadlinux-c08376ac97cb202ec65320f3d90d5c4c5e2adb0b.tar.xz
linux-c08376ac97cb202ec65320f3d90d5c4c5e2adb0b.zip
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>
-rw-r--r--kernel/time/hrtimer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c
index 8c7392c4fdbd..e99df0ff1d42 100644
--- a/kernel/time/hrtimer.c
+++ b/kernel/time/hrtimer.c
@@ -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) { }