From: Danilo Krummrich Date: Fri, 4 Oct 2024 15:41:09 +0000 (+0200) Subject: rust: alloc: make `allocator` module public X-Git-Tag: v6.13-rc1~71^2~50 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=a87a36f0bf517dae22f3e3790b05c979070f776a;p=linux-block.git rust: alloc: make `allocator` module public Subsequent patches implement allocators such as `Kmalloc`, `Vmalloc`, `KVmalloc`; we need them to be available outside of the kernel crate as well. Reviewed-by: Benno Lossin Reviewed-by: Gary Guo Signed-off-by: Danilo Krummrich Link: https://lore.kernel.org/r/20241004154149.93856-6-dakr@kernel.org Signed-off-by: Miguel Ojeda --- diff --git a/rust/kernel/alloc.rs b/rust/kernel/alloc.rs index 95d402feb6ff..2203852c3712 100644 --- a/rust/kernel/alloc.rs +++ b/rust/kernel/alloc.rs @@ -4,7 +4,7 @@ #[cfg(not(test))] #[cfg(not(testlib))] -mod allocator; +pub mod allocator; pub mod box_ext; pub mod vec_ext;