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>
Showing
- arch/i386/Kconfig 4 additions, 0 deletionsarch/i386/Kconfig
- arch/i386/kernel/time.c 2 additions, 48 deletionsarch/i386/kernel/time.c
- arch/sparc64/Kconfig 4 additions, 0 deletionsarch/sparc64/Kconfig
- arch/sparc64/kernel/time.c 2 additions, 51 deletionsarch/sparc64/kernel/time.c
- include/asm-i386/timer.h 0 additions, 1 deletioninclude/asm-i386/timer.h
- include/linux/time.h 3 additions, 0 deletionsinclude/linux/time.h
- kernel/time/ntp.c 56 additions, 3 deletionskernel/time/ntp.c
Loading
Please register or sign in to comment