aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/time/timer.c')
-rw-r--r--kernel/time/timer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/time/timer.c b/kernel/time/timer.c
index 48150ab42de9..4a4fd567fb26 100644
--- a/kernel/time/timer.c
+++ b/kernel/time/timer.c
@@ -1894,6 +1894,12 @@ int timers_dead_cpu(unsigned int cpu)
1894 raw_spin_lock_irq(&new_base->lock); 1894 raw_spin_lock_irq(&new_base->lock);
1895 raw_spin_lock_nested(&old_base->lock, SINGLE_DEPTH_NESTING); 1895 raw_spin_lock_nested(&old_base->lock, SINGLE_DEPTH_NESTING);
1896 1896
1897 /*
1898 * The current CPUs base clock might be stale. Update it
1899 * before moving the timers over.
1900 */
1901 forward_timer_base(new_base);
1902
1897 BUG_ON(old_base->running_timer); 1903 BUG_ON(old_base->running_timer);
1898 1904
1899 for (i = 0; i < WHEEL_SIZE; i++) 1905 for (i = 0; i < WHEEL_SIZE; i++)