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