Re: [PATCH 1/3] cputime_nsecs: use math64.h for nsec resolutionconversion helpers

From: Frederic Weisbecker
Date: Mon Apr 15 2013 - 10:08:30 EST


2013/4/15 Kevin Hilman <khilman@xxxxxxxxxx>:
> Frederic Weisbecker <fweisbec@xxxxxxxxx> writes:
>
>> On Wed, Mar 20, 2013 at 04:34:25PM -0700, Kevin Hilman wrote:
>>> For the nsec resolution conversions to be useable on non 64-bit
>>> architectures, the helpers in <linux/math64.h> need to be used so the
>>> right arch-specific 64-bit math helpers can be used (e.g. do_div())
>>>
>>> Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
>>> Signed-off-by: Kevin Hilman <khilman@xxxxxxxxxx>
>>
>> Ok the patch is nice!
>>
>> I'm queuing it.
>
> Thanks, did you queue PATCH 3/3 also to remove the 64-bit limitation
> from VIRT_CPU_ACCOUNTING_GEN: https://lkml.org/lkml/2013/3/20/656

Not yet, for this one I need to deeply check we haven't forgotten
anything concerning cputime_t operations in 32 bits archs.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/