]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sched: cleanup, use NSEC_PER_MSEC and NSEC_PER_SEC
authorEric Dumazet <dada1@cosmosbay.com>
Fri, 9 Nov 2007 21:39:38 +0000 (22:39 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 9 Nov 2007 21:39:38 +0000 (22:39 +0100)
commitd6322faf296ab5bbb597f8b0abcb50153754cd08
treec11f52d5c4be2081d88c85b63cc95a15e81c4e3c
parent19978ca610946ed57c071bad63f8f6642ca1298b
sched: cleanup, use NSEC_PER_MSEC and NSEC_PER_SEC

1) hardcoded 1000000000 value is used five times in places where
   NSEC_PER_SEC might be more readable.

2) A conversion from nsec to msec uses the hardcoded 1000000 value,
   which is a candidate for NSEC_PER_MSEC.

no code changed:

    text    data     bss     dec     hex filename
   44359    3326      36   47721    ba69 sched.o.before
   44359    3326      36   47721    ba69 sched.o.after

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sysctl.c