* [PATCH] posix-timers: use ktime_get_raw_ts64() instead of getrawmonotonic64()
@ 2018-06-18 20:11 Ivid Suvarna
2018-06-19 8:14 ` Arnd Bergmann
0 siblings, 1 reply; 2+ messages in thread
From: Ivid Suvarna @ 2018-06-18 20:11 UTC (permalink / raw)
To: arnd, tglx; +Cc: deepa.kernel, y2038, o-takashi, Ivid Suvarna, linux-kernel
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;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] posix-timers: use ktime_get_raw_ts64() instead of getrawmonotonic64()
2018-06-18 20:11 [PATCH] posix-timers: use ktime_get_raw_ts64() instead of getrawmonotonic64() Ivid Suvarna
@ 2018-06-19 8:14 ` Arnd Bergmann
0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2018-06-19 8:14 UTC (permalink / raw)
To: Ivid Suvarna
Cc: Thomas Gleixner, Deepa Dinamani, y2038 Mailman List,
Takashi Sakamoto, Linux Kernel Mailing List
On Mon, Jun 18, 2018 at 10:11 PM, Ivid Suvarna <ivid.suvarna@gmail.com> wrote:
> 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>
This looks correct, but is the same change that I already sent in a slightly
larger patch, see https://patchwork.kernel.org/patch/10471729/
I think I have covered almost all the uses of the deprecated interfaces now,
sent out the first 50 patches (arch, drivers, core) yesterday and should
be able send another 50 (addressing most file systems) today.
Arnd
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-19 8:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-18 20:11 [PATCH] posix-timers: use ktime_get_raw_ts64() instead of getrawmonotonic64() Ivid Suvarna
2018-06-19 8:14 ` Arnd Bergmann
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®