• Liu Ying's avatar
    ktime: Use macro NSEC_PER_USEC where appropriate · a44b8bd6
    Liu Ying authored
    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: default avatarLiu 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>
    Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
ktime.h 10 KB