Remove `PageProperty::new_absent`
This commit is contained in:
parent
eff4daf3ac
commit
9c8a8f8df9
|
|
@ -25,15 +25,6 @@ impl PageProperty {
|
|||
priv_flags: PrivilegedPageFlags::USER,
|
||||
}
|
||||
}
|
||||
|
||||
/// Creates a page property that implies an invalid page without mappings.
|
||||
pub fn new_absent() -> Self {
|
||||
Self {
|
||||
flags: PageFlags::empty(),
|
||||
cache: CachePolicy::Writeback,
|
||||
priv_flags: PrivilegedPageFlags::empty(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Make it more abstract when supporting other architectures.
|
||||
|
|
|
|||
Loading…
Reference in New Issue