NTP: move the cmos update code into ntp.c
authorThomas Gleixner <tglx@linutronix.de>
Sat, 21 Jul 2007 11:37:37 +0000 (04:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 00:49:15 +0000 (17:49 -0700)
commit82644459c592a28a3eab682f9b88d81019ddfe8b
tree738e4edaf54658912e78a8bcdadc3e2165ecb77a
parent99bc2fcb283852931fb6bbef40f3df8316b59000
NTP: move the cmos update code into ntp.c

i386 and sparc64 have the identical code to update the cmos clock.  Move it
into kernel/time/ntp.c as there are other architectures coming along with the
same requirements.

[akpm@linux-foundation.org: build fixes]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: john stultz <johnstul@us.ibm.com>
Cc: David Miller <davem@davemloft.net>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/Kconfig
arch/i386/kernel/time.c
arch/sparc64/Kconfig
arch/sparc64/kernel/time.c
include/asm-i386/timer.h
include/linux/time.h
kernel/time/ntp.c