author | Thomas Gleixner
<tglx@linutronix.de> 2008-09-22 16:56:01 UTC |
committer | Thomas Gleixner
<tglx@linutronix.de> 2008-09-23 09:38:53 UTC |
parent | 4faac97d44ac27bdbb010a9c3597401a8f89341f |
kernel/time/tick-sched.c | +3 | -0 |
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 31a14e8caac..39019b3f762 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -75,6 +75,9 @@ static void tick_do_update_jiffies64(ktime_t now) incr * ticks); } do_timer(++ticks); + + /* Keep the tick_next_period variable up to date */ + tick_next_period = ktime_add(last_jiffies_update, tick_period); } write_sequnlock(&xtime_lock); }