diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2016-05-26 17:21:05 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2019-08-01 18:12:56 +0200 |
| commit | 02af2e27cfe653b744e2382951d98e2df38a16ad (patch) | |
| tree | e7b340b840b1fe3d7f68f4883bdd530974e7f432 | |
| parent | c825098b9a76e1c4ef6c05f80cdd8b6c756cbf08 (diff) | |
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 <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit c08376ac97cb202ec65320f3d90d5c4c5e2adb0b)
[astrachan: Fixes {i386,amd64}-allmodconfig build failure in vsoc.ko
noticed by kernelci.org project building kernel/common]
Bug: 79376877
Change-Id: If4d5c466255019322ea21ef38ee5b1b382cce969
Signed-off-by: Alistair Strachan <astrachan@google.com>
Signed-off-by: Moyster <oysterized@gmail.com>
| -rw-r--r-- | kernel/hrtimer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index fe875c8a2..26f261430 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c @@ -485,6 +485,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) { } |
