pc64: remove unneeded parens in pmap()

This commit is contained in:
cinap_lenrek 2014-06-07 09:43:37 +02:00
parent 3cc15d2301
commit 865368f604

View file

@ -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);