Remove redundant import

This commit is contained in:
Philipp Oppermann
2019-04-25 20:31:43 +02:00
parent 65dbb5ac48
commit 2e531850b8

View File

@@ -48,7 +48,7 @@ pub fn init_frame_allocator(
/// `physical_memory_offset`. Also, this function must be only called once
/// to avoid aliasing `&mut` references (which is undefined behavior).
unsafe fn active_level_4_table(physical_memory_offset: u64) -> &'static mut PageTable {
use x86_64::{registers::control::Cr3, VirtAddr};
use x86_64::registers::control::Cr3;
let (level_4_table_frame, _) = Cr3::read();