Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1407757 > unrolled thread
| Started by | Guenter Roeck <linux@roeck-us.net> |
|---|---|
| First post | 2016-05-27 02:30 +0200 |
| Last post | 2016-05-27 02:30 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH 1/2] timer: Export destroy_hrtimer_on_stack() Guenter Roeck <linux@roeck-us.net> - 2016-05-27 02:30 +0200
| From | Guenter Roeck <linux@roeck-us.net> |
|---|---|
| Date | 2016-05-27 02:30 +0200 |
| Subject | [PATCH 1/2] timer: Export destroy_hrtimer_on_stack() |
| Message-ID | <rDdP3-4Ku-5@gated-at.bofh.it> |
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>
---
kernel/time/hrtimer.c | 1 +
1 file changed, 1 insertion(+)
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) { }
--
2.5.0
Back to top | Article view | linux.kernel
csiph-web