[PATCH 1/3] cputime_nsecs: use math64.h for nsec resolution conversion helpers

Kevin Hilman khilman at linaro.org
Mon Apr 15 10:02:40 EDT 2013


Frederic Weisbecker <fweisbec at gmail.com> 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 at gmail.com>
>> Signed-off-by: Kevin Hilman <khilman at linaro.org>
>
> 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

Kevin



More information about the linux-arm-kernel mailing list