summaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorGregor Boirie <gregor.boirie@parrot.com>2016-03-09 19:05:48 +0100
committerJonathan Cameron <jic23@kernel.org>2016-06-30 19:41:23 +0100
commiteaaa7ec71bff4cb34d9025ed89068d4b3cac3df0 (patch)
treed3faf18526724546374ae949865a67d264142d33 /kernel/time
parent3c9a6793bde1feb368cd6ef113c08a40a37f7517 (diff)
downloadlinux-eaaa7ec71bff4cb34d9025ed89068d4b3cac3df0.tar.gz
linux-eaaa7ec71bff4cb34d9025ed89068d4b3cac3df0.tar.bz2
linux-eaaa7ec71bff4cb34d9025ed89068d4b3cac3df0.zip
timekeeping: export get_monotonic_coarse64 symbol
EXPORT_SYMBOL() get_monotonic_coarse64 for new IIO timestamping clock selection usage. This provides user apps the ability to request a particular IIO device to timestamp samples using a monotonic coarse clock granularity. Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/timekeeping.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index 479d25cd3d4f..255e225393ac 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -2186,6 +2186,7 @@ struct timespec64 get_monotonic_coarse64(void)
return now;
}
+EXPORT_SYMBOL(get_monotonic_coarse64);
/*
* Must hold jiffies_lock