]> Pileus Git - ~andy/linux/commit
time: ntp: make 64-bit constants more robust
authorIngo Molnar <mingo@elte.hu>
Sun, 22 Feb 2009 14:48:43 +0000 (15:48 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 25 Feb 2009 17:38:15 +0000 (18:38 +0100)
commit2b9d1496e7835a603c340e8f0dd81f4b74d5f248
tree419904a23470733179a0ecd647263777b2f8e780
parente96291653b2e4df02f160b574070f6e632868e5e
time: ntp: make 64-bit constants more robust

Impact: cleanup, no functionality changed

 - make PPM_SCALE an explicit s64 constant, to
   remove (s64) casts from usage sites.

kernel/time/ntp.o:

   text    data     bss     dec     hex filename
   2536     114     136    2786     ae2 ntp.o.before
   2536     114     136    2786     ae2 ntp.o.after

md5:
   40a7728d1188aa18e83e21a81fa7b150  ntp.o.before.asm
   40a7728d1188aa18e83e21a81fa7b150  ntp.o.after.asm

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/timex.h
kernel/time/ntp.c