Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2212336imm; Thu, 19 Jul 2018 15:32:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe8iPyDdaqSFD/zTQ/3ZyRccf01Brw6b21cuesmUf7/xnXWutgRUDBcfXDCHLXFfxsJjh8H X-Received: by 2002:a62:4494:: with SMTP id m20-v6mr11217122pfi.205.1532039547049; Thu, 19 Jul 2018 15:32:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532039547; cv=none; d=google.com; s=arc-20160816; b=kOaiotOLppitA0TdGdrvi1gCAHi5EDBMU+6vizy4aRwRDzLkmsH4Eu3qQvoQ7oY+MR p7PVUUAk03jBmkbAdqU/P/PorH6dAKpX+AM9/DGA5o1Zl4X3taJoFV+PQYb/CAIFUwr5 BlVUENlvEnnQXKBefs8ytsJZtISflCVSkh5iTFB7kMk2Or5TDKe081KUneKtFJ+qU4mj kIWj0xcRZYgPHYVy6Dq+sstPhYtr7IjcoGOBAQsOhjhxhO3SOay5mwJAw0MYZAzemjAO epQcjjQrmj1yLyCSGJF3kHzsBf1OWPOIaKUwOPyV3fmwLrz0h15cOw4okHUvFDBmq/yx 7WzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=1awvPdD97XY4cTfgQovUlaVDyFQXdAl912TlYf/aMfc=; b=Ywdjum5xRgwui5SB0EH3uCoZdge18hKDa82yQjMwfe4DdrnqarFaG9Ehg2WerRawBx moB6YOx4ijCP4W++uZKi670j136dTSzvgLfmHPUJHThe6dlLZCHeCi0BY+Bw3GRsPMgm 2aj6/habPKhiu3kHvbdpSrpNi7UQaMizAgsuUTRmmX1W5OyAkezpQWOqBVFiZXYb2GL7 4vPWxUT+qtFNUciWaue8mGCZSBNx5KpLJZrQFoQO8iLW6zkFUVgCljEy72Y6b5w/nZdj dnuNRt1jXzNjhUjMxfVxsXwV1L1YAA6lWrOiQ7PxiqJ8CDOBBFwpIOi3+syxjL0qBxHv 0rkg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p9-v6si296816pgn.164.2018.07.19.15.32.12; Thu, 19 Jul 2018 15:32:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731380AbeGSXPd (ORCPT + 99 others); Thu, 19 Jul 2018 19:15:33 -0400 Received: from terminus.zytor.com ([198.137.202.136]:47417 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731054AbeGSXPd (ORCPT ); Thu, 19 Jul 2018 19:15:33 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id w6JMUIE82439467 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 19 Jul 2018 15:30:18 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w6JMUHXi2439464; Thu, 19 Jul 2018 15:30:17 -0700 Date: Thu, 19 Jul 2018 15:30:17 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Pavel Tatashin Message-ID: Cc: pasha.tatashin@oracle.com, hpa@zytor.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@kernel.org Reply-To: pasha.tatashin@oracle.com, hpa@zytor.com, mingo@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org In-Reply-To: <20180719205545.16512-18-pasha.tatashin@oracle.com> References: <20180719205545.16512-18-pasha.tatashin@oracle.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/timers] s390/time: Remove read_boot_clock64() Git-Commit-ID: 00067a6db2e95f3b9d9a017b3be3c715d54cc0de X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_96_Q autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 00067a6db2e95f3b9d9a017b3be3c715d54cc0de Gitweb: https://git.kernel.org/tip/00067a6db2e95f3b9d9a017b3be3c715d54cc0de Author: Pavel Tatashin AuthorDate: Thu, 19 Jul 2018 16:55:36 -0400 Committer: Thomas Gleixner 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 Signed-off-by: Thomas Gleixner Cc: steven.sistare@oracle.com Cc: daniel.m.jordan@oracle.com Cc: linux@armlinux.org.uk Cc: schwidefsky@de.ibm.com Cc: heiko.carstens@de.ibm.com Cc: john.stultz@linaro.org Cc: sboyd@codeaurora.org Cc: hpa@zytor.com Cc: douly.fnst@cn.fujitsu.com Cc: peterz@infradead.org Cc: prarit@redhat.com Cc: feng.tang@intel.com Cc: pmladek@suse.com Cc: gnomes@lxorguk.ukuu.org.uk Cc: linux-s390@vger.kernel.org Cc: boris.ostrovsky@oracle.com Cc: jgross@suse.com Cc: pbonzini@redhat.com Link: https://lkml.kernel.org/r/20180719205545.16512-18-pasha.tatashin@oracle.com --- 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;