lkml.org 
[lkml]   [2013]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] ktime: Use macro NSEC_PER_USEC where appropriate
On 05/07/2013 01:38 AM, Liu Ying wrote:
> We've got the macro NSEC_PER_USEC defined in header file
> include/linux/time.h. To make the code decent, this patch
> replaces the immediate number 1000 to convert bewteen a
> time value in microseconds and one in nanoseconds with the
> macro NSEC_PER_USEC.
>
> Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
> Cc: David S. Miller <davem@davemloft.net>
> Cc: Daniel Borkmann <dborkman@redhat.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: John Stultz <john.stultz@linaro.org>
> ---
> Changes for v2:
> 1. Update commit head and message to be more appropriate.
> 2. Avoid an unnecessary cast in the function
> timeval_to_ktime().

I've gone ahead and queued this for 3.11.

thanks
-john



\
 
 \ /
  Last update: 2013-05-08 03:01    [W:0.030 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site