Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp9594imm; Tue, 17 Jul 2018 19:27:22 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeuVZIV7INHYV0OdKsRt4GhlfarK7o7r2JYsOZcNZ92YFk9xFqpNIdUmin4FisSbsaq9OYR X-Received: by 2002:a62:ee01:: with SMTP id e1-v6mr3189872pfi.2.1531880842573; Tue, 17 Jul 2018 19:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531880842; cv=none; d=google.com; s=arc-20160816; b=tj74+984XzFtPfkNJlXCi54TE7YrfjHzQU6sclNm+oLA4Qek71uo411LMnbVTReybe YBNAysBg20wFEXJD+xb6bup1E6bUmpq+ogsKt7yoYbfBin75Wi3XOWxOWAd7T7UbYUVS S95Kc4IbbeeVmiZkPcx+QHqxJygVYRfPqAv6NndGUj+rr32kCZLB+Tg9+JE3GBInidbp ugGTM1BNxSMjRye+Qfn5WR9OFClAktNsXkfGOKDWMb09qd/QUhgrwPl3CXxqowWa4rKz WDLi8Fhkx8cX6HTvUEZC9NWM+FS5u6rYDnPZzB2xpUPQw8mde8Qf/ro3DHYtzZwpnV/I 5i2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:arc-authentication-results; bh=7LQv2NjuP1X+eZWi1Io1tq4pZKVS5ChpEiPREULa3w8=; b=SonsZrYCTcI3cLOLoE0gfahCBgKZXwmEsTL35K39glXngsyJaeOFbJM4K/s53xmlR4 ZZDkSx/ZXF+q+lAI6zIcgLk14/k8HL7ITCPRqd/nhCaiOqpDEwnE1jZUmFDUeWxvMb5L 4auvkqWAN+5MVvzSUjPlgdpEgGUmsXMxvt7G8WcAYbaqRnP7AY2m38LzX03DgV8bLw3g RMxv+9CD+Emnd6f6kjU8U5Wak0DJKWgNegWyDR3lV41H3JTksrpPDkXLcKJTWq08dz39 WAGRVqufTl4/iZoaBSqP1NRkwNau2j1u7TV8qOQBDJfWVOKHDyoM9ueUzUG3XbddIhbo fPuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b="XYZIcsc/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u19-v6si2463065pgk.100.2018.07.17.19.27.07; Tue, 17 Jul 2018 19:27:22 -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; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b="XYZIcsc/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731772AbeGRC7i (ORCPT + 99 others); Tue, 17 Jul 2018 22:59:38 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:42388 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731567AbeGRC7g (ORCPT ); Tue, 17 Jul 2018 22:59:36 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w6I2K30P007762; Wed, 18 Jul 2018 02:23:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : in-reply-to : references; s=corp-2018-07-02; bh=7LQv2NjuP1X+eZWi1Io1tq4pZKVS5ChpEiPREULa3w8=; b=XYZIcsc/b4mIuugsTOQeiCBdZpiyV2w25AgFORF691w6iRy+gNwZ3YZt8CQ/PPBqPAfI UNz4nsPkLqaUt65rIjMUVEuiP3Bvt4pLFa8po2yZHVoGAVXmpdIhKC6BW4n1iaOo0vpE 6mNPjSD9FBiZ9ukNGEg9WuZ8//1QX+Z07PRy7Vlo2LZIT5szN4YlO5IBNOTdKpiREka1 QPDgywVAIA5qAPV7O6wR0t1zR2sQJYMxLtq3y65FCNJUFECEMDqBdDeYx78nvRNe0VV3 B4uGkJWG8YYPIHMVTKn9xKjd/0CkDDH1T1iP/ibLRSmH4OFM813OB6beYNQBW7QarlXV KA== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp2120.oracle.com with ESMTP id 2k7a3432t4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Jul 2018 02:23:06 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w6I2N5vH024310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Jul 2018 02:23:05 GMT Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w6I2N45J013679; Wed, 18 Jul 2018 02:23:04 GMT Received: from localhost.localdomain (/73.69.118.222) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 17 Jul 2018 19:23:04 -0700 From: Pavel Tatashin To: steven.sistare@oracle.com, daniel.m.jordan@oracle.com, linux@armlinux.org.uk, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, john.stultz@linaro.org, sboyd@codeaurora.org, x86@kernel.org, linux-kernel@vger.kernel.org, mingo@redhat.com, tglx@linutronix.de, hpa@zytor.com, douly.fnst@cn.fujitsu.com, peterz@infradead.org, prarit@redhat.com, feng.tang@intel.com, pmladek@suse.com, gnomes@lxorguk.ukuu.org.uk, linux-s390@vger.kernel.org, pasha.tatashin@oracle.com, boris.ostrovsky@oracle.com, jgross@suse.com, pbonzini@redhat.com Subject: [PATCH v14 18/25] s390/time: remove read_boot_clock64() Date: Tue, 17 Jul 2018 22:22:04 -0400 Message-Id: <20180718022211.6259-19-pasha.tatashin@oracle.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180718022211.6259-1-pasha.tatashin@oracle.com> References: <20180718022211.6259-1-pasha.tatashin@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8957 signatures=668706 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=768 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807180026 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org read_boot_clock64() was replaced by read_persistent_wall_and_boot_offset() so remove it. Signed-off-by: Pavel Tatashin --- 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; -- 2.18.0