Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-12931 libcfs: skip cfs_time_seconds() indirection
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
linux
/
linux-time.h
diff --git
a/libcfs/include/libcfs/linux/linux-time.h
b/libcfs/include/libcfs/linux/linux-time.h
index
3934635
..
454f37e
100644
(file)
--- a/
libcfs/include/libcfs/linux/linux-time.h
+++ b/
libcfs/include/libcfs/linux/linux-time.h
@@
-214,7
+214,7
@@
static inline ktime_t timespec64_to_ktime(struct timespec64 ts)
static inline unsigned long cfs_time_seconds(time64_t seconds)
{
- return nsecs_to_jiffies(seconds * NSEC_PER_SEC);
+ return nsecs_to_jiffies
64
(seconds * NSEC_PER_SEC);
}
#ifdef HAVE_NEW_DEFINE_TIMER