shithub: riscv

Download patch

ref: 865368f60467b1e92c280f5fadde6518d4adc849
parent: 3cc15d2301ae47d6727cf1059ce855f3487bdc56
author: cinap_lenrek <[email protected]>
date: Sat Jun 7 05:43:37 EDT 2014

pc64: remove unneeded parens in pmap()

--- a/sys/src/9/pc64/mmu.c
+++ b/sys/src/9/pc64/mmu.c
@@ -287,7 +287,7 @@
 	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);