mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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
This commit is contained in:
committed by
Thomas Gleixner
parent
a9314773a9
commit
d48e0cd8fc
@@ -105,7 +105,7 @@ Some additional variants exist for more specialized cases:
|
|||||||
ktime_t ktime_get_coarse_clocktai( void )
|
ktime_t ktime_get_coarse_clocktai( void )
|
||||||
|
|
||||||
.. c:function:: u64 ktime_get_coarse_ns( 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_real_ns( void )
|
||||||
u64 ktime_get_coarse_clocktai_ns( void )
|
u64 ktime_get_coarse_clocktai_ns( void )
|
||||||
|
|
||||||
|
@@ -131,7 +131,7 @@ static inline u64 ktime_get_coarse_real_ns(void)
|
|||||||
return ktime_to_ns(ktime_get_coarse_real());
|
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());
|
return ktime_to_ns(ktime_get_coarse_boottime());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user