diff options
| author | Mike Snitzer <snitzer@kernel.org> | 2024-03-02 10:29:40 -0500 |
|---|---|---|
| committer | Mike Snitzer <snitzer@kernel.org> | 2024-03-02 10:29:40 -0500 |
| commit | c6df327501b9dc064a419f25daf99eebdf8fc815 (patch) | |
| tree | 97752889272a3d2c162d01bdac82ca0c9b799ad1 /rust | |
| parent | fa34e5893ff2d5b0174c124a29e1be6d0426a169 (diff) | |
| parent | 1acd92d95fa24edca8f0292b21870025da93e24f (diff) | |
Merge remote-tracking branch 'tejun/for-6.9' into dm-6.9-bh-wq
Diffstat (limited to 'rust')
| -rw-r--r-- | rust/kernel/workqueue.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/rust/kernel/workqueue.rs b/rust/kernel/workqueue.rs index 498397877376..d00231e18007 100644 --- a/rust/kernel/workqueue.rs +++ b/rust/kernel/workqueue.rs @@ -199,7 +199,11 @@ impl Queue { // stay valid until we call the function pointer in the `work_struct`, so the access is ok. unsafe { w.__enqueue(move |work_ptr| { - bindings::queue_work_on(bindings::WORK_CPU_UNBOUND as _, queue_ptr, work_ptr) + bindings::queue_work_on( + bindings::wq_misc_consts_WORK_CPU_UNBOUND as _, + queue_ptr, + work_ptr, + ) }) } } |
