* [PATCH] timekeeping: export ktime_get_mono_fast_ns to GPL modules
@ 2014-07-13 18:12 Mathieu Desnoyers
0 siblings, 0 replies; only message in thread
From: Mathieu Desnoyers @ 2014-07-13 18:12 UTC (permalink / raw)
To: Thomas Gleixner
Cc: linux-kernel, Mathieu Desnoyers, John Stultz, Peter Zijlstra,
Steven Rostedt
Add this export to allow tracers built as GPL modules to use
ktime_get_mono_fast_ns().
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
---
kernel/time/timekeeping.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index 2bd73b0..ce0b751 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -400,6 +400,7 @@ u64 notrace ktime_get_mono_fast_ns(void)
{
return ktime_get_fast_ns(&tk_fast_mono);
}
+EXPORT_SYMBOL_GPL(ktime_get_mono_fast_ns);
#ifdef CONFIG_GENERIC_TIME_VSYSCALL_OLD
--
1.7.10.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-13 18:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-13 18:12 [PATCH] timekeeping: export ktime_get_mono_fast_ns to GPL modules Mathieu Desnoyers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®