Skip to content

Commit c7d6e82

Browse files
committed
Remove remaining uses of UnusedPhysFrame
1 parent 6d0156f commit c7d6e82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/structures/paging/mapper/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ pub enum MapToError<S: PageSize> {
175175
/// given page is part of an already mapped huge page.
176176
ParentEntryHugePage,
177177
/// The given page is already mapped to a physical frame.
178-
PageAlreadyMapped(UnusedPhysFrame<S>),
178+
PageAlreadyMapped(PhysFrame<S>),
179179
}
180180

181181
/// An error indicating that an `unmap` call failed.

src/structures/paging/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! Page tables translate virtual memory “pages” to physical memory “frames”.
44
55
pub use self::frame::PhysFrame;
6-
pub use self::frame_alloc::{FrameAllocator, FrameDeallocator, UnusedPhysFrame};
6+
pub use self::frame_alloc::{FrameAllocator, FrameDeallocator};
77
#[doc(no_inline)]
88
pub use self::mapper::MappedPageTable;
99
pub use self::mapper::{Mapper, MapperAllSizes};

0 commit comments

Comments
 (0)