mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] timekeeping: Fix declaration of read_persistent_wall_and_boot_offset
@ 2018-09-03  8:15 Christian Borntraeger
  2018-09-03 11:30 ` [tip:timers/urgent] timekeeping: Fix declaration of read_persistent_wall_and_boot_offset() tip-bot for Christian Borntraeger
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Borntraeger @ 2018-09-03  8:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: Christian Borntraeger, Pavel Tatashin, Thomas Gleixner

it is
read_persistent_wall_and_boot_offset and not
read_persistent_clock_and_boot_offset

Fixes: 3eca993740b8eb40f51 ("timekeeping: Replace read_boot_clock64() with read_persistent_wall_and_boot_offset()")

CC: Pavel Tatashin <pasha.tatashin@oracle.com>
CC: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
---
 include/linux/timekeeping.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h
index 5d738804e3d6..a5a3cfc3c2fa 100644
--- a/include/linux/timekeeping.h
+++ b/include/linux/timekeeping.h
@@ -258,8 +258,8 @@ extern void ktime_get_snapshot(struct system_time_snapshot *systime_snapshot);
 extern int persistent_clock_is_local;
 
 extern void read_persistent_clock64(struct timespec64 *ts);
-void read_persistent_clock_and_boot_offset(struct timespec64 *wall_clock,
-					   struct timespec64 *boot_offset);
+void read_persistent_wall_and_boot_offset(struct timespec64 *wall_clock,
+					  struct timespec64 *boot_offset);
 extern int update_persistent_clock64(struct timespec64 now);
 
 /*
-- 
2.17.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip:timers/urgent] timekeeping: Fix declaration of read_persistent_wall_and_boot_offset()
  2018-09-03  8:15 [PATCH] timekeeping: Fix declaration of read_persistent_wall_and_boot_offset Christian Borntraeger
@ 2018-09-03 11:30 ` tip-bot for Christian Borntraeger
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Christian Borntraeger @ 2018-09-03 11:30 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: pasha.tatashin, linux-kernel, borntraeger, mingo, hpa, tglx

Commit-ID:  c43c5e9f524ec914e7e202f9c5ab91779629ccc6
Gitweb:     https://git.kernel.org/tip/c43c5e9f524ec914e7e202f9c5ab91779629ccc6
Author:     Christian Borntraeger <borntraeger@de.ibm.com>
AuthorDate: Mon, 3 Sep 2018 10:15:33 +0200
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 3 Sep 2018 13:26:44 +0200

timekeeping: Fix declaration of read_persistent_wall_and_boot_offset()

It is read_persistent_wall_and_boot_offset() and not
read_persistent_clock_and_boot_offset()

Fixes: 3eca993740b8eb40f51 ("timekeeping: Replace read_boot_clock64() with read_persistent_wall_and_boot_offset()")
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Pavel Tatashin <pasha.tatashin@oracle.com>
Link: https://lkml.kernel.org/r/20180903081533.34366-1-borntraeger@de.ibm.com

---
 include/linux/timekeeping.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h
index 5d738804e3d6..a5a3cfc3c2fa 100644
--- a/include/linux/timekeeping.h
+++ b/include/linux/timekeeping.h
@@ -258,8 +258,8 @@ extern void ktime_get_snapshot(struct system_time_snapshot *systime_snapshot);
 extern int persistent_clock_is_local;
 
 extern void read_persistent_clock64(struct timespec64 *ts);
-void read_persistent_clock_and_boot_offset(struct timespec64 *wall_clock,
-					   struct timespec64 *boot_offset);
+void read_persistent_wall_and_boot_offset(struct timespec64 *wall_clock,
+					  struct timespec64 *boot_offset);
 extern int update_persistent_clock64(struct timespec64 now);
 
 /*

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-03 11:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-03  8:15 [PATCH] timekeeping: Fix declaration of read_persistent_wall_and_boot_offset Christian Borntraeger
2018-09-03 11:30 ` [tip:timers/urgent] timekeeping: Fix declaration of read_persistent_wall_and_boot_offset() tip-bot for Christian Borntraeger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome