Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

timekeeping: Boot should be boottime for coarse ns accessor

Somewhere in all the patchsets before, this cleanup got lost.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lkml.kernel.org/r/20190624091539.13512-1-Jason@zx2c4.com

authored by

Jason A. Donenfeld and committed by
Thomas Gleixner
d48e0cd8 a9314773

+2 -2
+1 -1
Documentation/core-api/timekeeping.rst
··· 105 105 ktime_t ktime_get_coarse_clocktai( void ) 106 106 107 107 .. c:function:: u64 ktime_get_coarse_ns( void ) 108 - u64 ktime_get_coarse_boot_ns( void ) 108 + u64 ktime_get_coarse_boottime_ns( void ) 109 109 u64 ktime_get_coarse_real_ns( void ) 110 110 u64 ktime_get_coarse_clocktai_ns( void ) 111 111
+1 -1
include/linux/timekeeping.h
··· 131 131 return ktime_to_ns(ktime_get_coarse_real()); 132 132 } 133 133 134 - static inline u64 ktime_get_coarse_boot_ns(void) 134 + static inline u64 ktime_get_coarse_boottime_ns(void) 135 135 { 136 136 return ktime_to_ns(ktime_get_coarse_boottime()); 137 137 }