projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
897994e
)
time: Export nsecs_to_jiffies()
author
Thomas Gleixner
<tglx@linutronix.de>
Wed, 16 Jul 2014 21:04:31 +0000
(21:04 +0000)
committer
John Stultz
<john.stultz@linaro.org>
Wed, 23 Jul 2014 17:18:04 +0000
(10:18 -0700)
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>
kernel/time/time.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/time/time.c
b/kernel/time/time.c
index 278c63cc8054583aecd153f68425ca03a9de7608..f0294ba14634345b604ebf88ca5b5977fadfad17 100644
(file)
--- 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.