From: Martin Schwidefsky Date: Fri, 14 Aug 2009 13:47:27 +0000 (+0200) Subject: timekeeping: Add xtime_shift and ntp_error_shift to struct timekeeper X-Git-Tag: v2.6.32-rc1~168^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23ce72117c714baab794e66c8daf343bf6a912bf;p=pandora-kernel.git timekeeping: Add xtime_shift and ntp_error_shift to struct timekeeper The xtime_nsec value in the timekeeper structure is shifted by a few bits to improve precision. This happens to be the same value as the clock->shift. To improve readability add xtime_shift to the timekeeper and use it instead of the clock->shift. Likewise add ntp_error_shift and replace all (NTP_SCALE_SHIFT - clock->shift) expressions. Signed-off-by: Martin Schwidefsky Cc: Ingo Molnar Acked-by: John Stultz Cc: Daniel Walker LKML-Reference: <20090814134809.871899606@de.ibm.com> Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed