diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-20 06:27:18 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-20 06:27:18 -0400 |
commit | 4958134df54c2c84e9c22ea042761d439164d26e (patch) | |
tree | 503177afab11f7d25b12a84ce25b481d305c51ba /kernel/time/timer.c | |
parent | c4f528795d1add8b63652673f7262729f679c6c1 (diff) | |
parent | c698ca5278934c0ae32297a8725ced2e27585d7f (diff) |
Merge 4.16-rc6 into tty-next
We want the serial/tty fixes in here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/time/timer.c')
-rw-r--r-- | kernel/time/timer.c | 6 |
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++) |