aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time/timekeeping.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/time/timekeeping.c')
-rw-r--r--kernel/time/timekeeping.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index d3b91e75cecd..5ce06a3fa91e 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -776,6 +776,7 @@ static void timekeeping_resume(void)
776 776
777 read_persistent_clock(&ts); 777 read_persistent_clock(&ts);
778 778
779 clockevents_resume();
779 clocksource_resume(); 780 clocksource_resume();
780 781
781 write_seqlock_irqsave(&tk->lock, flags); 782 write_seqlock_irqsave(&tk->lock, flags);
@@ -835,6 +836,7 @@ static int timekeeping_suspend(void)
835 836
836 clockevents_notify(CLOCK_EVT_NOTIFY_SUSPEND, NULL); 837 clockevents_notify(CLOCK_EVT_NOTIFY_SUSPEND, NULL);
837 clocksource_suspend(); 838 clocksource_suspend();
839 clockevents_suspend();
838 840
839 return 0; 841 return 0;
840} 842}