2 dnl # 4.18: ktime_get_coarse_real_ts64() added. Use it in place of
3 dnl # current_kernel_time64().
5 AC_DEFUN([ZFS_AC_KERNEL_KTIME_GET_COARSE_REAL_TS64],
6 [AC_MSG_CHECKING([whether ktime_get_coarse_real_ts64() exists])
7 ZFS_LINUX_TRY_COMPILE([
11 ktime_get_coarse_real_ts64(&ts);
14 AC_DEFINE(HAVE_KTIME_GET_COARSE_REAL_TS64, 1, [ktime_get_coarse_real_ts64() exists])