ref: 240ba73770ef98cfbbad9eddd6f445bf5cfec166
parent: 25189924dbde3852b68adb9ce97cd5ff101ee3fb
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Feb 15 11:58:35 EST 2014
pc64: fix mistake
--- a/sys/src/9/pc64/mmu.c
+++ b/sys/src/9/pc64/mmu.c
@@ -217,8 +217,8 @@
assert((va < TSTKTOP) || (va >= KMAP && va < KMAP+KMAPSIZE));
p = mmualloc();
- p->index = level;
- p->level = index;
+ p->index = index;
+ p->level = level;
if(va < TSTKTOP){
flags |= PTEUSER;
if(level == PML4E){