diff options
author | Russ Cox <[email protected]> | 2011-01-11 13:51:40 -0500 |
---|---|---|
committer | Russ Cox <[email protected]> | 2011-01-11 13:51:40 -0500 |
commit | 417c37115e0c7fc3b2a65c3c4d213e566cbc8807 (patch) | |
tree | cfeb8340b4f382261b12f1be447632ec5fbe5532 /kalloc.c | |
parent | 89bfdd4db183cbe75a3a0c2254ca48a50e37276f (diff) | |
download | xv6-labs-417c37115e0c7fc3b2a65c3c4d213e566cbc8807.tar.gz xv6-labs-417c37115e0c7fc3b2a65c3c4d213e566cbc8807.tar.bz2 xv6-labs-417c37115e0c7fc3b2a65c3c4d213e566cbc8807.zip |
more trivial cleanup
Diffstat (limited to 'kalloc.c')
-rw-r--r-- | kalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ kinit(void) initlock(&kmem.lock, "kmem"); p = (char*)PGROUNDUP((uint)end); - for(; p + PGSIZE - 1 < (char*)PHYSTOP; p += PGSIZE) + for(; p + PGSIZE <= (char*)PHYSTOP; p += PGSIZE) kfree(p); } |