shithub: riscv

Download patch

ref: f82e3e8657a880cd0bbad9dd370da5069d8fdf04
parent: 662fff51f01f1886d52ece8ae55d6d6d422d5a52
parent: ef1ec09cf748391430b5ec7e230ce4563515a299
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Feb 23 13:42:01 EST 2014

merge

--- a/sys/src/9/pc64/mmu.c
+++ b/sys/src/9/pc64/mmu.c
@@ -415,7 +415,7 @@
 	if((p = proc->kmaptail) != nil){
 		if((p->next = proc->mmuhead) == nil)
 			proc->mmutail = p;
-		proc->mmuhead = p;
+		proc->mmuhead = proc->kmaphead;
 		proc->mmucount += proc->kmapcount;
 
 		proc->kmaphead = proc->kmaptail = nil;