[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALAqxLX+RvtWSOLZZ0diJaQO1H_-VWkCnEyP6uWD_OaLZ+L3RQ@mail.gmail.com>
Date: Fri, 17 Jun 2016 13:50:20 -0700
From: John Stultz <john.stultz@...aro.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: Thomas Gleixner <tglx@...utronix.de>,
y2038 Mailman List <y2038@...ts.linaro.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] time: avoid timespec in udelay_test
On Fri, Jun 17, 2016 at 9:03 AM, Arnd Bergmann <arnd@...db.de> wrote:
> udelay_test_single() uses ktime_get_ts() to get two timespec values
> and calculate the difference between them, while udelay_test_show()
> uses the same to printk() the current monotonic time.
>
> Both of these are y2038 safe on all machines, but we want to
> get rid of struct timespec anyway, so this converts the code to
> use ktime_get_ns() and ktime_get_ts64() respectively.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Queued for testing
thanks
-john
Powered by blists - more mailing lists