diff options
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r-- | kernel/workqueue.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 68461b8d9b39..f344334f5690 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -2015,13 +2015,7 @@ __acquires(&pool->lock) | |||
2015 | 2015 | ||
2016 | lockdep_copy_map(&lockdep_map, &work->lockdep_map); | 2016 | lockdep_copy_map(&lockdep_map, &work->lockdep_map); |
2017 | #endif | 2017 | #endif |
2018 | /* | 2018 | WARN_ON_ONCE(!(pool->flags & POOL_DISASSOCIATED) && |
2019 | * Ensure we're on the correct CPU. DISASSOCIATED test is | ||
2020 | * necessary to avoid spurious warnings from rescuers servicing the | ||
2021 | * unbound or a disassociated pool. | ||
2022 | */ | ||
2023 | WARN_ON_ONCE(!(worker->flags & WORKER_UNBOUND) && | ||
2024 | !(pool->flags & POOL_DISASSOCIATED) && | ||
2025 | raw_smp_processor_id() != pool->cpu); | 2019 | raw_smp_processor_id() != pool->cpu); |
2026 | 2020 | ||
2027 | /* | 2021 | /* |