workqueue: Split alloc_workqueue into internal function and lockdep init
authorMatthew Brost <matthew.brost@intel.com>
Fri, 9 Aug 2024 22:28:23 +0000 (15:28 -0700)
committerTejun Heo <tj@kernel.org>
Tue, 13 Aug 2024 19:05:28 +0000 (09:05 -1000)
commitb188c57af2b5c17a1e8f71a0358f330446a4f788
treea78b38ec85444375996dd6e85515a72cfcd0666b
parent946c57e61d0b6237b9dfbbccd07edbaa447d4370
workqueue: Split alloc_workqueue into internal function and lockdep init

Will help enable user-defined lockdep maps for workqueues.

Cc: Tejun Heo <tj@kernel.org>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c