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-9118 o2iblnd: handle MOFED libcfs time api collision
[fs/lustre-release.git]
/
libcfs
/
autoconf
/
lustre-libcfs.m4
diff --git
a/libcfs/autoconf/lustre-libcfs.m4
b/libcfs/autoconf/lustre-libcfs.m4
index
3740297
..
979b815
100644
(file)
--- a/
libcfs/autoconf/lustre-libcfs.m4
+++ b/
libcfs/autoconf/lustre-libcfs.m4
@@
-365,19
+365,19
@@
ktime_get_real_seconds, [
]) # LIBCFS_KTIME_GET_REAL_SECONDS
#
]) # LIBCFS_KTIME_GET_REAL_SECONDS
#
-# Kernel version 3.17 created ktime_get_ns wrapper
+# Kernel version 3.17 created ktime_get_
real_
ns wrapper
#
AC_DEFUN([LIBCFS_KTIME_GET_REAL_NS],[
LB_CHECK_COMPILE([does function 'ktime_get_real_ns' exist],
#
AC_DEFUN([LIBCFS_KTIME_GET_REAL_NS],[
LB_CHECK_COMPILE([does function 'ktime_get_real_ns' exist],
-ktime_get_ns, [
+ktime_get_
real_
ns, [
#include <linux/ktime.h>
],[
u64 nanoseconds;
nanoseconds = ktime_get_real_ns();
#include <linux/ktime.h>
],[
u64 nanoseconds;
nanoseconds = ktime_get_real_ns();
-],[
- AC_DEFINE(
HAVE
_KTIME_GET_REAL_NS, 1,
- ['ktime_get_real_ns' is available])
+],[
],[
+ AC_DEFINE(
NEED
_KTIME_GET_REAL_NS, 1,
+ ['ktime_get_real_ns' is
not
available])
])
]) # LIBCFS_KTIME_GET_REAL_NS
])
]) # LIBCFS_KTIME_GET_REAL_NS