pc64: remove unneeded parens in pmap()
This commit is contained in:
parent
3cc15d2301
commit
865368f604
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ pmap(uintptr *pml4, uintptr pa, uintptr va, vlong size)
|
||||||
uintptr *pte, *ptee, flags;
|
uintptr *pte, *ptee, flags;
|
||||||
int z, l;
|
int z, l;
|
||||||
|
|
||||||
if((size <= 0) || va < VMAP)
|
if(size <= 0 || va < VMAP)
|
||||||
panic("pmap: pa=%#p va=%#p size=%lld", pa, va, size);
|
panic("pmap: pa=%#p va=%#p size=%lld", pa, va, size);
|
||||||
flags = pa;
|
flags = pa;
|
||||||
pa = PPN(pa);
|
pa = PPN(pa);
|
||||||
|
|
Loading…
Reference in a new issue