summaryrefslogtreecommitdiff
path: root/rust/kernel/workqueue.rs
diff options
context:
space:
mode:
authorAlice Ryhl <aliceryhl@google.com>2026-03-26 15:25:36 +0000
committerAlice Ryhl <aliceryhl@google.com>2026-03-26 15:45:34 +0000
commitd4cf576672fbfee061d6f4f70c74b3b3d163447c (patch)
treec63e42fcb38afba8f6a78a1b57ea58dfcd2291e3 /rust/kernel/workqueue.rs
parent206bada308d0d715d62ac841784af34a2ca22ff6 (diff)
rust: workqueue: use new sync::aref path for imports
ARef and AlwaysRefCounted are being moved to sync::aref, and the re-exports under types are planned to be removed. Thus, update imports to the new path. Acked-by: Danilo Krummrich <dakr@kernel.org> Reviewed-by: Gary Guo <gary@garyguo.net> Link: https://patch.msgid.link/20260326-drm-rust-next-fix-aref-v1-1-7f6f58d2828a@google.com Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Diffstat (limited to 'rust/kernel/workqueue.rs')
-rw-r--r--rust/kernel/workqueue.rs12
1 files changed, 9 insertions, 3 deletions
diff --git a/rust/kernel/workqueue.rs b/rust/kernel/workqueue.rs
index 4ee4ff567197..7e253b6f299c 100644
--- a/rust/kernel/workqueue.rs
+++ b/rust/kernel/workqueue.rs
@@ -189,10 +189,16 @@ use crate::{
alloc::{AllocError, Flags},
container_of,
prelude::*,
- sync::Arc,
- sync::LockClassKey,
+ sync::{
+ aref::{
+ ARef,
+ AlwaysRefCounted, //
+ },
+ Arc,
+ LockClassKey, //
+ },
time::Jiffies,
- types::{ARef, AlwaysRefCounted, Opaque},
+ types::Opaque,
};
use core::{marker::PhantomData, ptr::NonNull};