diff --git a/[refs] b/[refs] index 5c4aef5fa39c..b41e70d94457 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d0174640eedc1cd756754f03afe2dbb3d56de74e +refs/heads/master: 3be9095063885d482b87d3875ea7f28e635882d0 diff --git a/trunk/kernel/time/timekeeping.c b/trunk/kernel/time/timekeeping.c index acc417b5a9b7..f682091fa890 100644 --- a/trunk/kernel/time/timekeeping.c +++ b/trunk/kernel/time/timekeeping.c @@ -325,9 +325,10 @@ static int timekeeping_suspend(struct sys_device *dev, pm_message_t state) { unsigned long flags; + timekeeping_suspend_time = read_persistent_clock(); + write_seqlock_irqsave(&xtime_lock, flags); timekeeping_suspended = 1; - timekeeping_suspend_time = read_persistent_clock(); write_sequnlock_irqrestore(&xtime_lock, flags); clockevents_notify(CLOCK_EVT_NOTIFY_SUSPEND, NULL);