diff --git a/kernel/src/arch/x86_64/paging.rs b/kernel/src/arch/x86_64/paging.rs index b6c5491..3e34535 100644 --- a/kernel/src/arch/x86_64/paging.rs +++ b/kernel/src/arch/x86_64/paging.rs @@ -202,7 +202,7 @@ impl PageTableImpl { let table = unsafe { &mut *frame_to_page_table(frame) }; PageTableImpl( MappedPageTable::new(table, frame_to_page_table), - core::mem::MaybeUninit::uninitialized().into_initialized()(), + core::mem::MaybeUninit::uninitialized().into_initialized(), frame, ) } @@ -217,7 +217,7 @@ impl PageTableExt for PageTableImpl { unsafe { PageTableImpl( MappedPageTable::new(table, frame_to_page_table), - core::mem::MaybeUninit::uninitialized().into_initialized()(), + core::mem::MaybeUninit::uninitialized().into_initialized(), frame, ) }