time: ntp: simplify ntp_tick_adj calculations
authorIngo Molnar <mingo@elte.hu>
Sun, 22 Feb 2009 15:03:37 +0000 (16:03 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 25 Feb 2009 17:38:16 +0000 (18:38 +0100)
commit069569e025706f27f939785f86a94d5d8ce55dce
tree49c563db54f77883dc5cd0ff1e381cf80898c0a5
parent2b9d1496e7835a603c340e8f0dd81f4b74d5f248
time: ntp: simplify ntp_tick_adj calculations

Impact: micro-optimization

Convert the (internal) ntp_tick_adj value we store from unscaled
units to scaled units. This is a constant that we never modify,
so scaling it up once during bootup is enough - we dont have to
do it for every adjustment step.

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