diff options
Diffstat (limited to 'kernel/time/tick-broadcast.c')
-rw-r--r-- | kernel/time/tick-broadcast.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c index 2fb8cb88df8d..8a6875cc1879 100644 --- a/kernel/time/tick-broadcast.c +++ b/kernel/time/tick-broadcast.c | |||
@@ -573,7 +573,8 @@ void tick_broadcast_setup_oneshot(struct clock_event_device *bc) | |||
573 | bc->event_handler = tick_handle_oneshot_broadcast; | 573 | bc->event_handler = tick_handle_oneshot_broadcast; |
574 | 574 | ||
575 | /* Take the do_timer update */ | 575 | /* Take the do_timer update */ |
576 | tick_do_timer_cpu = cpu; | 576 | if (!tick_nohz_extended_cpu(cpu)) |
577 | tick_do_timer_cpu = cpu; | ||
577 | 578 | ||
578 | /* | 579 | /* |
579 | * We must be careful here. There might be other CPUs | 580 | * We must be careful here. There might be other CPUs |