pc64: remove rampage() nil check
rampage() never returns nil
This commit is contained in:
parent
a35cd0f861
commit
9e2344a5be
1 changed files with 0 additions and 2 deletions
|
@ -299,8 +299,6 @@ ptesplit(uintptr* table, uintptr va)
|
|||
if(pte == nil || (*pte & PTESIZE) == 0 || (va & PGLSZ(1)-1) == 0)
|
||||
return;
|
||||
table = rampage();
|
||||
if(table == nil)
|
||||
panic("ptesplit: out of memory\n");
|
||||
va &= -PGLSZ(1);
|
||||
pa = *pte & ~PTESIZE;
|
||||
for(off = 0; off < PGLSZ(1); off += PGLSZ(0))
|
||||
|
|
Loading…
Reference in a new issue