From: Ivid Suvarna <ivid.suvarna@gmail.com>
To: arnd@arndb.de, tglx@linutronix.de
Cc: deepa.kernel@gmail.com, y2038@lists.linaro.org,
o-takashi@sakamocchi.jp, Ivid Suvarna <ivid.suvarna@gmail.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH] posix-timers: use ktime_get_raw_ts64() instead of getrawmonotonic64()
Date: Tue, 19 Jun 2018 01:41:00 +0530 [thread overview]
Message-ID: <20180618201100.2238-1-ivid.suvarna@gmail.com> (raw)
getrawmonotonic64() is deprecated. This follows Arnd Bergmann's patch[1]
for replacing deprecated functions.
[1] https://patchwork.kernel.org/patch/10472141/
Signed-off-by: Ivid Suvarna <ivid.suvarna@gmail.com>
---
kernel/time/posix-timers.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/posix-timers.c b/kernel/time/posix-timers.c
index e08ce3f27447..2f50ac8c258f 100644
--- a/kernel/time/posix-timers.c
+++ b/kernel/time/posix-timers.c
@@ -228,7 +228,7 @@ static int posix_ktime_get_ts(clockid_t which_clock, struct timespec64 *tp)
*/
static int posix_get_monotonic_raw(clockid_t which_clock, struct timespec64 *tp)
{
- getrawmonotonic64(tp);
+ ktime_get_raw_ts64(tp);
return 0;
}
next reply other threads:[~2018-06-18 20:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-18 20:11 Ivid Suvarna [this message]
2018-06-19 8:14 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180618201100.2238-1-ivid.suvarna@gmail.com \
--to=ivid.suvarna@gmail.com \
--cc=arnd@arndb.de \
--cc=deepa.kernel@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=o-takashi@sakamocchi.jp \
--cc=tglx@linutronix.de \
--cc=y2038@lists.linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®