UPSTREAM: timer: Export destroy_hrtimer_on_stack()
authorGuenter Roeck <linux@roeck-us.net>
Fri, 27 May 2016 00:21:05 +0000 (17:21 -0700)
committerDanny Wood <danwood76@gmail.com>
Tue, 28 Sep 2021 12:06:41 +0000 (13:06 +0100)
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>
(cherry picked from commit c08376ac97cb202ec65320f3d90d5c4c5e2adb0b)
[astrachan: Fixes i386-allmodconfig build failure in vsoc.ko noticed
 by 01.org kbuild-all project building kernel/msm]
Bug: 70214720
Change-Id: If4d5c466255019322ea21ef38ee5b1b382cce969
Signed-off-by: Alistair Strachan <astrachan@google.com>
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
kernel/hrtimer.c

index 409c10d87949d60a545201a5086f434de0736912..7209080336fea3509b9e8be52a8183da4741cc68 100644 (file)
@@ -481,6 +481,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) { }