From: Guenter Roeck Date: Fri, 27 May 2016 00:21:05 +0000 (-0700) Subject: UPSTREAM: timer: Export destroy_hrtimer_on_stack() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=744514ba8e36917f0bd20aab56d74fc6c4e0ac0b;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git UPSTREAM: 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 Signed-off-by: David S. Miller (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 Signed-off-by: Kevin F. Haggerty --- diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index 409c10d8794..7209080336f 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c @@ -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) { }