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.

[[email protected]: build fixes]
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Chris Wright <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: john stultz <[email protected]>
Cc: David Miller <[email protected]>
Cc: Roman Zippel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Thomas Gleixner 2007-07-21 04:37:37 -07:00 • committed by Linus Torvalds
commit 82644459c5
7 changed files with 71 additions and 103 deletions

View file

@ -11,7 +11,6 @@ unsigned long native_calculate_cpu_khz(void);
extern int timer_ack;
extern int no_timer_check;
extern int no_sync_cmos_clock;
extern int recalibrate_cpu_khz(void);
#ifndef CONFIG_PARAVIRT