Commit 9df6a2d8 authored by Stefan Lankes's avatar Stefan Lankes Committed by Stefan Lankes
Browse files

revise code to support "edition 2018"

parent 7decb24f
...@@ -120,7 +120,7 @@ pub fn init() { ...@@ -120,7 +120,7 @@ pub fn init() {
let size = 2 * LargePageSize::SIZE; let size = 2 * LargePageSize::SIZE;
unsafe { unsafe {
let start = allocate(size, true); let start = allocate(size, true);
::ALLOCATOR.lock().init(start, size); crate::ALLOCATOR.lock().init(start, size);
} }
info!("Kernel heap size: {} MB", size >> 20); info!("Kernel heap size: {} MB", size >> 20);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment