Now PageTable::unmap calls PageTable::find_pte instead of PageTable::find_pte_create.

This commit is contained in:
Yifan Wu 2022-01-13 17:24:19 -08:00
parent 94156ab1f7
commit b535f5ba98
2 changed files with 4 additions and 6 deletions

View file

@ -29,8 +29,6 @@ unsafe fn f(count:usize) -> ! {
#[no_mangle]
pub fn main(argc: usize, argv: &[&str]) -> i32 {
let mut count = 0;
if argc == 1 {
count = THREAD_COUNT;
} else if argc == 2 {