diff options
Diffstat (limited to 'crates/kernel/src')
-rw-r--r-- | crates/kernel/src/alloc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/kernel/src/alloc.rs b/crates/kernel/src/alloc.rs index 920fe0a..3ae72bc 100644 --- a/crates/kernel/src/alloc.rs +++ b/crates/kernel/src/alloc.rs @@ -151,7 +151,7 @@ pub unsafe fn init_kernel_virtual_memory_allocator(himem_top: usize) { // Donate the bootstrap segment to the heap. // // UNWRAP: Himem cannot be null. - CPULocals::get().heap().donate_small_medium_segment( + CPULocals::get().heap().donate_segment( NonNull::new(bootstrap_segment as *mut [u8; NON_HUGE_SEGMENT_SIZE]).unwrap(), ); |