Skip to content

Commit a87a36f

Browse files
Danilo Krummrichojeda
authored andcommitted
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 <benno.lossin@proton.me> Reviewed-by: Gary Guo <gary@garyguo.net> Signed-off-by: Danilo Krummrich <dakr@kernel.org> Link: https://lore.kernel.org/r/20241004154149.93856-6-dakr@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 8a79983 commit a87a36f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/kernel/alloc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
#[cfg(not(test))]
66
#[cfg(not(testlib))]
7-
mod allocator;
7+
pub mod allocator;
88
pub mod box_ext;
99
pub mod vec_ext;
1010

0 commit comments

Comments
 (0)