shithub: riscv

Download patch

ref: 59e53f818da15f6755fdb26aa6859bc6d913fcd0
parent: ff7d68e41adaa89aa3f896954104befe7d4a130d
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue May 6 14:59:56 EDT 2014

pc64: fix embrassing typo in mmuzap()

--- a/sys/src/9/pc64/mmu.c
+++ b/sys/src/9/pc64/mmu.c
@@ -347,7 +347,7 @@
 			if(w & 1)
 				pte[x] = 0;
 			x++;
-			x >>= 1;
+			w >>= 1;
 		} while(w);
 		m->mmumap[i] = 0;
 	}