Do not clone KERNEL_SPACE in mm::init

ch4-dev
Yifan Wu 4 years ago
parent e5dd61c2c2
commit 1e15b3561d

@ -15,5 +15,5 @@ pub use memory_set::remap_test;
pub fn init() {
heap_allocator::init_heap();
frame_allocator::init_frame_allocator();
KERNEL_SPACE.clone().lock().activate();
KERNEL_SPACE.lock().activate();
}

Loading…
Cancel
Save