Skip to contentSkip to conversation

timekeeping: boot should be boottime for coarse ns accessor

PATCH New Jason A. Donenfeld 2 participants 2 messages Jun 24, 2019 – Jun 25, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 timekeeping: boot should be boottime for coarse ns accessor

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

Cc Arnd Bergmann <[email protected]>
Cc Thomas Gleixner <[email protected]>
---
 Documentation/core-api/timekeeping.rst | 2 +-
 include/linux/timekeeping.h            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/core-api/timekeeping.rst +1 -1
index 15fc58e85ef9..20ee447a50f3 100644
@@ -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 )
 
include/linux/timekeeping.h +1 -1
index 1435d928fcbf..edbc5f4d7ea3 100644
@@ -130,7 +130,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());
 }
Signature · 1 line
2.21.0
#1 lore raw

[tip:timers/core] timekeeping: Boot should be boottime for coarse ns accessor

timekeeping: Boot should be boottime for coarse ns accessor
Commit-ID:  d48e0cd8fcaf314175a15d3076d7a1e71bd4e628
Gitweb:     https://git.kernel.org/tip/d48e0cd8fcaf314175a15d3076d7a1e71bd4e628
Author:     Jason A. Donenfeld <[email protected]>
AuthorDate: Mon, 24 Jun 2019 11:15:39 +0200
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Tue, 25 Jun 2019 08:54:51 +0200

timekeeping: Boot should be boottime for coarse ns accessor

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

---
 Documentation/core-api/timekeeping.rst | 2 +-
 include/linux/timekeeping.h            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/core-api/timekeeping.rst +1 -1
index 15fc58e85ef9..20ee447a50f3 100644
@@ -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 )
 
include/linux/timekeeping.h +1 -1
index dcffc00755f2..b27e2ffa96c1 100644
@@ -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());
 }