On Fri, Feb 2, 2018 at 7:31 PM, Gregory Rose <gvrose8...@gmail.com> wrote:
> On 2/2/2018 10:18 AM, Pravin Shelar wrote:
>> On Tue, Jan 30, 2018 at 4:40 PM, Gregory Rose <gvrose8...@gmail.com>
>> This is done in compat code, can you move it to respective header file?
> Yes - my own preference is to keep these sorts of things close to where
> they're used but
> I suppose there is a good chance we'll use ktime_get_ts64 elsewhere in the
> future.  So
> that's fine by me.

You could decide to use ktime_get_ns() divided by NSEC_PER_MSEC
instead of getting that number from ktime_get_ts64(), that would be
more portable, though a little bit slower on 32-bit architectures.

dev mailing list

Reply via email to