From 865368f60467b1e92c280f5fadde6518d4adc849 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 7 Jun 2014 09:43:37 +0200 Subject: [PATCH] pc64: remove unneeded parens in pmap() --- sys/src/9/pc64/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/9/pc64/mmu.c b/sys/src/9/pc64/mmu.c index eeed702ed..255b1c0b3 100644 --- a/sys/src/9/pc64/mmu.c +++ b/sys/src/9/pc64/mmu.c @@ -287,7 +287,7 @@ pmap(uintptr *pml4, uintptr pa, uintptr va, vlong size) uintptr *pte, *ptee, flags; int z, l; - if((size <= 0) || va < VMAP) + if(size <= 0 || va < VMAP) panic("pmap: pa=%#p va=%#p size=%lld", pa, va, size); flags = pa; pa = PPN(pa);