|
@@ -516,13 +516,13 @@ static void sync_cmos_clock(struct work_struct *work)
|
|
|
schedule_delayed_work(&sync_cmos_work, timespec_to_jiffies(&next));
|
|
|
}
|
|
|
|
|
|
-static void notify_cmos_timer(void)
|
|
|
+void ntp_notify_cmos_timer(void)
|
|
|
{
|
|
|
schedule_delayed_work(&sync_cmos_work, 0);
|
|
|
}
|
|
|
|
|
|
#else
|
|
|
-static inline void notify_cmos_timer(void) { }
|
|
|
+void ntp_notify_cmos_timer(void) { }
|
|
|
#endif
|
|
|
|
|
|
|
|
@@ -687,8 +687,6 @@ int __do_adjtimex(struct timex *txc, struct timespec *ts, s32 *time_tai)
|
|
|
if (!(time_status & STA_NANO))
|
|
|
txc->time.tv_usec /= NSEC_PER_USEC;
|
|
|
|
|
|
- notify_cmos_timer();
|
|
|
-
|
|
|
return result;
|
|
|
}
|
|
|
|