diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/time/ntp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index af8d1d4f3d55..419a52cecd20 100644 --- a/kernel/time/ntp.c +++ b/kernel/time/ntp.c | |||
@@ -514,12 +514,13 @@ static void sync_cmos_clock(struct work_struct *work) | |||
514 | next.tv_sec++; | 514 | next.tv_sec++; |
515 | next.tv_nsec -= NSEC_PER_SEC; | 515 | next.tv_nsec -= NSEC_PER_SEC; |
516 | } | 516 | } |
517 | schedule_delayed_work(&sync_cmos_work, timespec_to_jiffies(&next)); | 517 | queue_delayed_work(system_power_efficient_wq, |
518 | &sync_cmos_work, timespec_to_jiffies(&next)); | ||
518 | } | 519 | } |
519 | 520 | ||
520 | void ntp_notify_cmos_timer(void) | 521 | void ntp_notify_cmos_timer(void) |
521 | { | 522 | { |
522 | schedule_delayed_work(&sync_cmos_work, 0); | 523 | queue_delayed_work(system_power_efficient_wq, &sync_cmos_work, 0); |
523 | } | 524 | } |
524 | 525 | ||
525 | #else | 526 | #else |