PM / sleep: Make it possible to quiesce timers during suspend-to-idle
[deliverable/linux.git] / kernel / time / timekeeping.c
index aef5dc722abf94f1bf2e6a4d4d8beeaf88bf3872..91db94136c1062571ba0d0f1bfd1ed687770af3e 100644 (file)
@@ -1197,7 +1197,7 @@ void timekeeping_inject_sleeptime64(struct timespec64 *delta)
  * xtime/wall_to_monotonic/jiffies/etc are
  * still managed by arch specific suspend/resume code.
  */
-static void timekeeping_resume(void)
+void timekeeping_resume(void)
 {
        struct timekeeper *tk = &tk_core.timekeeper;
        struct clocksource *clock = tk->tkr.clock;
@@ -1278,7 +1278,7 @@ static void timekeeping_resume(void)
        hrtimers_resume();
 }
 
-static int timekeeping_suspend(void)
+int timekeeping_suspend(void)
 {
        struct timekeeper *tk = &tk_core.timekeeper;
        unsigned long flags;
This page took 0.030174 seconds and 5 git commands to generate.