]> asedeno.scripts.mit.edu Git - linux.git/commit
timekeeping: Add missing _ns functions for coarse accessors
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 21 Jun 2019 20:32:49 +0000 (22:32 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 22 Jun 2019 10:11:28 +0000 (12:11 +0200)
commit4c54294d01e605a9f992361b924c5d8b12822a6d
tree0024e485e66736bd1d571793196d08e09374ad36
parent9285ec4c8b61d4930a575081abeba2cd4f449a74
timekeeping: Add missing _ns functions for coarse accessors

This further unifies the accessors for the fast and coarse functions, so
that the same types of functions are available for each. There was also
a bit of confusion with the documentation, which prior advertised a
function that has never existed. Finally, the vanilla ktime_get_coarse()
was omitted from the API originally, so this fills this oversight.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lkml.kernel.org/r/20190621203249.3909-3-Jason@zx2c4.com
Documentation/core-api/timekeeping.rst
include/linux/timekeeping.h