Message ID | 20200117174128.792272889@goodmis.org |
---|---|
State | New |
Headers | show |
Series | [RT,01/32] i2c: exynos5: Remove IRQF_ONESHOT | 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); }