]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ntp: handle leap second via timer
authorRoman Zippel <zippel@linux-m68k.org>
Thu, 1 May 2008 11:34:41 +0000 (04:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 May 2008 15:03:59 +0000 (08:03 -0700)
commit7dffa3c673fbcf835cd7be80bb4aec8ad3f51168
tree63264208ed97f18a74a5a7cd2e100cc2c4e13449
parent8383c42399f394a89bd6c2f03632c53689bdde7a
ntp: handle leap second via timer

Remove the leap second handling from second_overflow(), which doesn't have to
check for it every second anymore.  With CONFIG_NO_HZ this also makes sure the
leap second is handled close to the full second.  Additionally this makes it
possible to abort a leap second properly by resetting the STA_INS/STA_DEL
status bits.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/clocksource.h
include/linux/timex.h
kernel/time/ntp.c
kernel/time/timekeeping.c