]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
timekeeping: Boot should be boottime for coarse ns accessor
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 24 Jun 2019 09:15:39 +0000 (11:15 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 25 Jun 2019 06:54:51 +0000 (08:54 +0200)
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
Documentation/core-api/timekeeping.rst
include/linux/timekeeping.h

index 15fc58e85ef9e625afdda2d534bba454b5819e62..20ee447a50f35a78765b7e11789110caa2b65d67 100644 (file)
@@ -105,7 +105,7 @@ Some additional variants exist for more specialized cases:
                ktime_t ktime_get_coarse_clocktai( void )
 
 .. c:function:: u64 ktime_get_coarse_ns( void )
-               u64 ktime_get_coarse_boot_ns( void )
+               u64 ktime_get_coarse_boottime_ns( void )
                u64 ktime_get_coarse_real_ns( void )
                u64 ktime_get_coarse_clocktai_ns( void )
 
index dcffc00755f22c525576f85e5fc68a06d9e5153f..b27e2ffa96c1619e5ceef6eeb520ab35a5db0b8d 100644 (file)
@@ -131,7 +131,7 @@ static inline u64 ktime_get_coarse_real_ns(void)
        return ktime_to_ns(ktime_get_coarse_real());
 }
 
-static inline u64 ktime_get_coarse_boot_ns(void)
+static inline u64 ktime_get_coarse_boottime_ns(void)
 {
        return ktime_to_ns(ktime_get_coarse_boottime());
 }