Do not clone KERNEL_SPACE in mm::init

This commit is contained in:
Yifan Wu 2021-01-27 07:30:27 +08:00
parent 54946d4706
commit 513cb2055a

View file

@ -23,5 +23,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();
}