summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index cd36db5..dfc5b3c 100644
--- a/vm.c
+++ b/vm.c
@@ -171,7 +171,7 @@ switchuvm(struct proc *p)
ltr(SEG_TSS << 3);
if(p->pgdir == 0)
panic("switchuvm: no pgdir");
- lcr3(v2p(p->pgdir)); // switch to new address space
+ lcr3(v2p(p->pgdir)); // switch to process's address space
popcli();
}