From patchwork Mon Jun 24 09:15:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jason A. Donenfeld" X-Patchwork-Id: 167558 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3959628ilk; Mon, 24 Jun 2019 02:16:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5vPdkINSlG1CKx9wXoH8GgUlN0wdkf1EhZ97G0PxpKz7EDHHlol5i+FJFM0gWRhZa2fIA X-Received: by 2002:a63:6ec6:: with SMTP id j189mr9397246pgc.168.1561367763757; Mon, 24 Jun 2019 02:16:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561367763; cv=none; d=google.com; s=arc-20160816; b=s1bEQ4sIZbQ0YzcLqi7fCMabTqUeMvv6Zkikw1dr76foaQl+QG59ttqfI/p42/Nl2f LXuVzqxmehHubyZm/uxxPiAG1YBIGRDrc5BFCjGdrJPVlq1bIEB0iHdi/pw4UhJFgJQJ TUj0IVfyhCcNNvmc7ThrApNtR62zGLFgwwur6g1Gcy5HYVvW4AoeaeD0wkrsNuEqGeyZ ZSaB2yr6f8HpTPglMiI9WCwkcf08wPI+JiT0D/I/xGMQFKvGAdhqyHFbF867pYaN48uZ /R1bUY6ajpf6TuegwdTad3kuY+zjiuUUZv8mk1XFDz4fQSiD+tEZeVlwuR3VXhgh8V6Q sqmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4LH98tkzu5PFm9fElUJR/5X3ejrVOum3RiKLOLqVgGo=; b=SDRsAXxyBJMI/XHA5Lb4Iu/qpyy8Pyzb6zHI0GD+yjX6DLiyGn36vIvrJgNK2rMSGD dHC3xcWBhMTzlAuERDUMZYdPQSK7eAvLc0CDOKSZ9TmLL/QjaEHRAzY9jeLLC9jWo02d Y7gaaaez7RiWUYWZWghJFPrI7YG+oozm07QltpW/Btyr0fCo245y8lVLZuFYUt5MKHdB UiZsQW+QjWcIO8A80VOMbBpRbbyIAVjIF/wjBvgrKwQYJRbhqDBcuy+vKakXJbMpktHZ 91yrow6LemGPei/sjugzR3ecGoNAmvhKewGMOizY7Zf5ySbpL/9ZEUay+Z7VVYJYf4k9 WnzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=H1eCY9lx; 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=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f59si10590834plf.220.2019.06.24.02.16.03; Mon, 24 Jun 2019 02:16:03 -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=@zx2c4.com header.s=mail header.b=H1eCY9lx; 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=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728421AbfFXJQB (ORCPT + 30 others); Mon, 24 Jun 2019 05:16:01 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:53757 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727101AbfFXJQA (ORCPT ); Mon, 24 Jun 2019 05:16:00 -0400 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 040f07c6; Mon, 24 Jun 2019 08:42:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=mail; bh=q1U9OoSlHv9k61z1xQoaw0awhSk=; b=H1eCY9lx/QIj93Jb95VZ XpDRIx96Q3LNl8F/mXhcuSYVGj0Hi9RnCaAIl1erhkES8PN7MIM5yitIMdpZWK0O JTyyb6tGtid7EZrFx5eDAuXm0dQZ/D3KJV94glNTk61QR99n/MzbqtZ17aCCDaA1 HfbQMj52n+TBVf9zAptYcBr9OeKAHDCmRMlXoogSZ1QXbb5A0IavVOuG502LPFHF pqmNRf9csBreN2dAbPFtIuYtpohXM1HxwiJlOYUt5+BgMZPfcKb4NiH97HzAPxlO vOQoDSyCoNY0yvrN5uhM7/7kLl/cgd4lO7VKLe+iId2ekNZjWy4LWFhL0yFA9wO0 mg== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id d9dba3fd (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Mon, 24 Jun 2019 08:42:12 +0000 (UTC) From: "Jason A. Donenfeld" To: linux-kernel@vger.kernel.org Cc: "Jason A. Donenfeld" , Arnd Bergmann , Thomas Gleixner Subject: [PATCH] timekeeping: boot should be boottime for coarse ns accessor Date: Mon, 24 Jun 2019 11:15:39 +0200 Message-Id: <20190624091539.13512-1-Jason@zx2c4.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Somewhere in all the patchsets before, this cleanup got lost. Signed-off-by: Jason A. Donenfeld Cc: Arnd Bergmann Cc: Thomas Gleixner --- Documentation/core-api/timekeeping.rst | 2 +- include/linux/timekeeping.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.21.0 diff --git a/Documentation/core-api/timekeeping.rst b/Documentation/core-api/timekeeping.rst index 15fc58e85ef9..20ee447a50f3 100644 --- a/Documentation/core-api/timekeeping.rst +++ b/Documentation/core-api/timekeeping.rst @@ -105,7 +105,7 @@ Some additional variants exist for more specialized cases: ktime_t ktime_get_coarse_clocktai( void ) .. c:function:: u64 ktime_get_coarse_ns( void ) - u64 ktime_get_coarse_boot_ns( void ) + u64 ktime_get_coarse_boottime_ns( void ) u64 ktime_get_coarse_real_ns( void ) u64 ktime_get_coarse_clocktai_ns( void ) diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h index 1435d928fcbf..edbc5f4d7ea3 100644 --- a/include/linux/timekeeping.h +++ b/include/linux/timekeeping.h @@ -130,7 +130,7 @@ static inline u64 ktime_get_coarse_real_ns(void) return ktime_to_ns(ktime_get_coarse_real()); } -static inline u64 ktime_get_coarse_boot_ns(void) +static inline u64 ktime_get_coarse_boottime_ns(void) { return ktime_to_ns(ktime_get_coarse_boottime()); }