Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+9 -3
+9 -3
rust/kernel/workqueue.rs
··· 189 189 alloc::{AllocError, Flags}, 190 190 container_of, 191 191 prelude::*, 192 - sync::Arc, 193 - sync::LockClassKey, 192 + sync::{ 193 + aref::{ 194 + ARef, 195 + AlwaysRefCounted, // 196 + }, 197 + Arc, 198 + LockClassKey, // 199 + }, 194 200 time::Jiffies, 195 - types::{ARef, AlwaysRefCounted, Opaque}, 201 + types::Opaque, 196 202 }; 197 203 use core::{marker::PhantomData, ptr::NonNull}; 198 204