Message ID | 20200123203943.749508731@goodmis.org |
---|---|
State | Superseded |
Headers | show |
Series | None | expand |
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index 49d20fe8570f..1a5167c68310 100644 --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c @@ -943,7 +943,7 @@ void hrtimer_grab_expiry_lock(const struct hrtimer *timer) { struct hrtimer_clock_base *base = READ_ONCE(timer->base); - if (timer->is_soft && base && base->cpu_base) { + if (timer->is_soft && base != &migration_base) { spin_lock(&base->cpu_base->softirq_expiry_lock); spin_unlock(&base->cpu_base->softirq_expiry_lock); }