]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/time/ntp.c
Merge commit 'linus/master' into merge-linus
[linux-2.6-omap-h63xx.git] / kernel / time / ntp.c
index 4c8d85421d24b84429be27e096611ad86a3e686d..9c114b726ab3353e75fa222e8597e52db9d34a82 100644 (file)
@@ -244,7 +244,7 @@ static void sync_cmos_clock(unsigned long dummy)
        if (abs(now.tv_nsec - (NSEC_PER_SEC / 2)) <= tick_nsec / 2)
                fail = update_persistent_clock(now);
 
-       next.tv_nsec = (NSEC_PER_SEC / 2) - now.tv_nsec;
+       next.tv_nsec = (NSEC_PER_SEC / 2) - now.tv_nsec - (TICK_NSEC / 2);
        if (next.tv_nsec <= 0)
                next.tv_nsec += NSEC_PER_SEC;