Commit-ID: 00067a6db2e95f3b9d9a017b3be3c715d54cc0de Gitweb: https://git.kernel.org/tip/00067a6db2e95f3b9d9a017b3be3c715d54cc0de Author: Pavel Tatashin <pasha.tatashin@xxxxxxxxxx> AuthorDate: Thu, 19 Jul 2018 16:55:36 -0400 Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx> CommitDate: Fri, 20 Jul 2018 00:02:41 +0200 s390/time: Remove read_boot_clock64() read_boot_clock64() was replaced by read_persistent_wall_and_boot_offset() so remove it. Signed-off-by: Pavel Tatashin <pasha.tatashin@xxxxxxxxxx> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: steven.sistare@xxxxxxxxxx Cc: daniel.m.jordan@xxxxxxxxxx Cc: linux@xxxxxxxxxxxxxxx Cc: schwidefsky@xxxxxxxxxx Cc: heiko.carstens@xxxxxxxxxx Cc: john.stultz@xxxxxxxxxx Cc: sboyd@xxxxxxxxxxxxxx Cc: hpa@xxxxxxxxx Cc: douly.fnst@xxxxxxxxxxxxxx Cc: peterz@xxxxxxxxxxxxx Cc: prarit@xxxxxxxxxx Cc: feng.tang@xxxxxxxxx Cc: pmladek@xxxxxxxx Cc: gnomes@xxxxxxxxxxxxxxxxxxx Cc: linux-s390@xxxxxxxxxxxxxxx Cc: boris.ostrovsky@xxxxxxxxxx Cc: jgross@xxxxxxxx Cc: pbonzini@xxxxxxxxxx Link: https://lkml.kernel.org/r/20180719205545.16512-18-pasha.tatashin@xxxxxxxxxx --- arch/s390/kernel/time.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c index d1f5447d5687..e8766beee5ad 100644 --- a/arch/s390/kernel/time.c +++ b/arch/s390/kernel/time.c @@ -239,19 +239,6 @@ void __init read_persistent_wall_and_boot_offset(struct timespec64 *wall_time, *boot_offset = timespec64_sub(*wall_time, boot_time); } -void read_boot_clock64(struct timespec64 *ts) -{ - unsigned char clk[STORE_CLOCK_EXT_SIZE]; - __u64 delta; - - delta = initial_leap_seconds + TOD_UNIX_EPOCH; - memcpy(clk, tod_clock_base, 16); - *(__u64 *) &clk[1] -= delta; - if (*(__u64 *) &clk[1] > delta) - clk[0]--; - ext_to_timespec64(clk, ts); -} - static u64 read_tod_clock(struct clocksource *cs) { unsigned long long now, adj; -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |