clocksource: add suspend callback
[safe/jmp/linux-2.6] / kernel / time / timekeeping.c
index 7faaa32..843d8a7 100644 (file)
@@ -622,6 +622,7 @@ static int timekeeping_suspend(struct sys_device *dev, pm_message_t state)
        write_sequnlock_irqrestore(&xtime_lock, flags);
 
        clockevents_notify(CLOCK_EVT_NOTIFY_SUSPEND, NULL);
+       clocksource_suspend();
 
        return 0;
 }