Skip to contentSkip to conversation

timekeeping: export ktime_get_mono_fast_ns to GPL modules

PATCH New Mathieu Desnoyers 1 participant 1 message Jul 13, 2014 Timekeeping, clocksource core, NTP, alarmtimer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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().

Cc Thomas Gleixner <[email protected]>
Cc John Stultz <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Steven Rostedt <[email protected]>
---
 kernel/time/timekeeping.c |    1 +
 1 file changed, 1 insertion(+)
kernel/time/timekeeping.c +1 -0
index 2bd73b0..ce0b751 100644
@@ -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
 
Signature · 1 line
1.7.10.4