Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1205236imm; Wed, 11 Jul 2018 20:06:23 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcYtajeainHF9FNtKDXZfWvdLYsx/9Fb3ly+fNKWemxU7jo+qUVcjwJKdH9+Rc26hdTbP0m X-Received: by 2002:a17:902:8f83:: with SMTP id z3-v6mr449143plo.111.1531364783735; Wed, 11 Jul 2018 20:06:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531364783; cv=none; d=google.com; s=arc-20160816; b=pua3PtS2z9iYsqFEk0XwA1DPi9UzXBQctfvO4STSdTgS4xCXBnHGIJSOeQP5Ydc1mr sxLqWwFwwvrr3k3rUOtzuOe3P9+4RfU5dS2XCJTBZDmCmDcYgRrmcFt/HCeoPu8/Zkq/ zvObaho6SNxH9onqdLKAec7mWI68C4TTu9tnQ3V8rQFucattGMpX4buGxCulhCBnSp7m mkjP/Q4B3QjNOenaNtGe9imWdLgn4ZCurtStK8Pea3g80tmrc6lTIu/nVMB61FjYu1Uu I3RvBPOBmYK5PeWZuRFpKAWutC18f+6gI9hFBDmL7N9o7mpaUDuD/lTtrO+QwvXP7i6+ RDyA== 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=d4v089ZGdzEkmg5E0w1QkJ1C5d6A2aeKs16SXJsDY2JTzv5ntCNPhQUNMhsCdla47K 26WjdmpAqyvNbIFEABQEmNOiJLMAQHzUyuBG1Gp6AJCWSfQPyAJvu1BYnzG9OXjQJVf9 Dv24XX7CebdRjeY3PnCukN2fHfuq1sna+1TUlMtoZPVr3dcFrm+wLKuBDN+uTDObl2w0 cu5KShUrtdQNhe2/jxsGzabzAbuTeRoxzFnPeyFz3XJ0+rFh7XF+PDrPf9Nbj+h0zD8q hwsy8I7DQk6lhFgvtynpGmOFk7IieOgvZTm/iVtRkt8KBVK+O0pn652FsTrTcrk9dN+D To9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b="kp3glX0/"; 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 c17-v6si4600994pgg.628.2018.07.11.20.06.08; Wed, 11 Jul 2018 20:06:23 -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="kp3glX0/"; 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 S2390947AbeGLANI (ORCPT + 99 others); Wed, 11 Jul 2018 20:13:08 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:44536 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390060AbeGLANI (ORCPT ); Wed, 11 Jul 2018 20:13:08 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w6C04l5X147815; Thu, 12 Jul 2018 00:04:47 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=kp3glX0/erjYscT7e3IJZqBfQFBSPuIO7FRHY9awl2suDb4P/pcAJK/Xw4lXudKInKNW mgF/eN9hzjOhlb/S11hhx1rvD+NWNuCK/DEoDue8Jvd3O17s2/MBpm/L6tKvznAWgf8V N6HgsitW5calrqB5VQldufVsE21ulm5LVrhWJWGYy4H10s2C8N55spqHUGNJ+baMeYLY LBueN5vmpCDtubyP0Ty8J7MndcQb9gE4f1yT5fKDlgfCgExl86L/SsRWC5N7pqY3xMlp PRxwtL1b7us4UExuz/B0bzsGNjVyFjaLrVDjhsmbp2GIzeJymdqA8FSCk5ZTxVn8i+xZ kw== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2k2p768ae1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Jul 2018 00:04:47 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w6C04kmc029512 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Jul 2018 00:04:46 GMT Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w6C04ke2031997; Thu, 12 Jul 2018 00:04:46 GMT Received: from localhost.localdomain (/73.69.118.222) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 11 Jul 2018 17:04:46 -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 Subject: [PATCH v13 11/18] s390/time: remove read_boot_clock64() Date: Wed, 11 Jul 2018 20:04:12 -0400 Message-Id: <20180712000419.5165-12-pasha.tatashin@oracle.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180712000419.5165-1-pasha.tatashin@oracle.com> References: <20180712000419.5165-1-pasha.tatashin@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8951 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=766 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807110252 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