Whamcloud - gitweb
LU-9019 libcfs: add ktime_compare for platforms lacking it. 94/31994/2
authorJames Simmons <uja.ornl@yahoo.com>
Mon, 11 Dec 2017 18:18:42 +0000 (13:18 -0500)
committerJohn L. Hammond <john.hammond@intel.com>
Thu, 3 May 2018 19:59:10 +0000 (19:59 +0000)
commit62d011aaff83b745ee887b68fef70e294a9cd669
tree4df3bef504c8402caf9de4b55eda4440a53ab979
parent0049c057d0ad5e1c56dc972004ca414dbfe6a6b8
LU-9019 libcfs: add ktime_compare for platforms lacking it.

The function ktime_compare() was added to the linux kernel
starting with verison 3.19. Add to libcfs support for older
platforms lacking this function.

Lustre-commit: 4bbc835dc87cf947e87bd687553602781381fc81
Lustre-change: https://review.whamcloud.com/30475

Test-Parameters: trivial

Change-Id: I7826b8e78d0dc2c633490a2949210176a0003d9a
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Signed-off-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-on: https://review.whamcloud.com/31994
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/linux-time.h