summaryrefslogtreecommitdiffstats
path: root/kernel/time/time.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-07-16 23:04:31 +0200
committerJohn Stultz <john.stultz@linaro.org>2014-07-23 19:18:04 +0200
commitd560fed6abe0f9975b509e4fb824e08ac19adc93 (patch)
treea503c2ffcef23c57a9648df81e23b70a6811fffc /kernel/time/time.c
parenttimekeeping: Provide ktime_get[*]_ns() helpers (diff)
downloadlinux-d560fed6abe0f9975b509e4fb824e08ac19adc93.tar.xz
linux-d560fed6abe0f9975b509e4fb824e08ac19adc93.zip
time: Export nsecs_to_jiffies()
Required for moving drivers to the nanosecond based interfaces. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to '')
-rw-r--r--kernel/time/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/time/time.c b/kernel/time/time.c
index 278c63cc8054..f0294ba14634 100644
--- a/kernel/time/time.c
+++ b/kernel/time/time.c
@@ -757,6 +757,7 @@ unsigned long nsecs_to_jiffies(u64 n)
{
return (unsigned long)nsecs_to_jiffies64(n);
}
+EXPORT_SYMBOL_GPL(nsecs_to_jiffies);
/*
* Add two timespec values and do a safety check for overflow.