[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1405275138-25213-1-git-send-email-mathieu.desnoyers@efficios.com>
Date: Sun, 13 Jul 2014 14:12:18 -0400
From: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: linux-kernel@...r.kernel.org,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
John Stultz <john.stultz@...aro.org>,
Peter Zijlstra <peterz@...radead.org>,
Steven Rostedt <rostedt@...dmis.org>
Subject: [PATCH] timekeeping: export ktime_get_mono_fast_ns to GPL modules
Add this export to allow tracers built as GPL modules to use
ktime_get_mono_fast_ns().
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: John Stultz <john.stultz@...aro.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Steven Rostedt <rostedt@...dmis.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists