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 <[email protected]> Reviewed-by: Gary Guo <[email protected]> Signed-off-by: Danilo Krummrich <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
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)