The following commit has been merged in the openafs-stable-1_6_x branch:
commit b9936e944a2b4f5773d66864cbb297993b050e65
Author: Mark Vitale <[email protected]>
Date: Tue Nov 13 11:20:09 2018 -0500
Linux 4.20: current_kernel_time is gone
With Linux commit 976516404ff3fab2a8caa8bd6f5efc1437fed0b8 'y2038:
remove unused time interfaces' (4.20-rc1), current_kernel_time() has
been removed.
Many y2038-compliant time APIs were introduced with Linux commit
fb7fcc96a86cfaef0f6dcc0665516aa68611e736 'timekeeping: Standardize on
ktime_get_*() naming' (4.18). According to
Documentation/core-api/timekeeping.rst, a suitable replacement for:
struct timespec current_kernel_time(void)
would be:
void ktime_get_coarse_real_ts64(struct timespec64 *ts))
Add an autoconf test and equivalent logic to deal.
Reviewed-on: https://gerrit.openafs.org/13391
Tested-by: Mark Vitale <[email protected]>
Reviewed-by: Benjamin Kaduk <[email protected]>
(cherry picked from commit 3c454b39d04f4886536267c211171dae30dc0344)
Reviewed-on: https://gerrit.openafs.org/13405
Reviewed-by: Mark Vitale <[email protected]>
Tested-by: BuildBot <[email protected]>
Reviewed-by: Stephan Wiesand <[email protected]>
(cherry picked from commit 7fb6d488156e673e78b462faf93f2c5b2214fe59)
Change-Id: I324fdbadd617f3c8c94e3144e2018ffbb69e4238
Reviewed-on: https://gerrit.openafs.org/13420
Tested-by: BuildBot <[email protected]>
Reviewed-by: Michael Meffie <[email protected]>
Reviewed-by: Marcio Brito Barbosa <[email protected]>
Reviewed-by: Stephan Wiesand <[email protected]>
src/afs/LINUX/osi_machdep.h | 9 ++++++++-
src/cf/linux-kernel-func.m4 | 4 ++++
2 files changed, 12 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs