summaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-07-16 21:04:31 +0000
committerJohn Stultz <john.stultz@linaro.org>2014-07-23 10:18:04 -0700
commitd560fed6abe0f9975b509e4fb824e08ac19adc93 (patch)
treea503c2ffcef23c57a9648df81e23b70a6811fffc /kernel/time
parent897994e32b2b0a41ce4222c3b38a05bd2d1ee9fa (diff)
downloadop-kernel-dev-d560fed6abe0f9975b509e4fb824e08ac19adc93.zip
op-kernel-dev-d560fed6abe0f9975b509e4fb824e08ac19adc93.tar.gz
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 'kernel/time')
-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 278c63c..f0294ba 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.
OpenPOWER on IntegriCloud