Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9ef8305 authored by Jason A. Donenfeld's avatar Jason A. Donenfeld Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: timekeeping: Boot should be boottime for coarse ns accessor



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

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


(cherry picked from commit d48e0cd8fcaf314175a15d3076d7a1e71bd4e628)
Bug: 152722841
Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Change-Id: I4986ad53fbb6b2ddc99627c2ded37327c6f66af6
parent a00bea9a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 )

+1 −1
Original line number Diff line number Diff line
@@ -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());
}