aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/time/ntp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c
index bd4fa6271262..149cc8086aea 100644
--- a/kernel/time/ntp.c
+++ b/kernel/time/ntp.c
@@ -509,7 +509,7 @@ static DECLARE_DELAYED_WORK(sync_cmos_work, sync_cmos_clock);
509static void sync_cmos_clock(struct work_struct *work) 509static void sync_cmos_clock(struct work_struct *work)
510{ 510{
511 struct timespec64 now; 511 struct timespec64 now;
512 struct timespec next; 512 struct timespec64 next;
513 int fail = 1; 513 int fail = 1;
514 514
515 /* 515 /*
@@ -559,7 +559,7 @@ static void sync_cmos_clock(struct work_struct *work)
559 next.tv_nsec -= NSEC_PER_SEC; 559 next.tv_nsec -= NSEC_PER_SEC;
560 } 560 }
561 queue_delayed_work(system_power_efficient_wq, 561 queue_delayed_work(system_power_efficient_wq,
562 &sync_cmos_work, timespec_to_jiffies(&next)); 562 &sync_cmos_work, timespec64_to_jiffies(&next));
563} 563}
564 564
565void ntp_notify_cmos_timer(void) 565void ntp_notify_cmos_timer(void)