diff --git a/kernel/workqueue.c b/kernel/workqueue.c index e618108c6127..41754f4126a6 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -212,7 +212,7 @@ struct worker_pool { * but w/ pool->lock held. The readers grab pool->lock and are * guaranteed to see if the counter reached zero. */ - int nr_running; + int __data_racy nr_running; struct list_head worklist; /* L: list of pending works */