summaryrefslogtreecommitdiff
path: root/kalloc.c
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2010-07-02 17:45:37 -0400
committerFrans Kaashoek <[email protected]>2010-07-02 17:45:37 -0400
commit74c82bc1584dda4cee6b0788055a52c32a10b2e0 (patch)
treeb387617e919d4a3805f1410471a29292d6295781 /kalloc.c
parent40889627ba50db29a64bc6a1553c2b21e6a99b78 (diff)
downloadxv6-labs-74c82bc1584dda4cee6b0788055a52c32a10b2e0.tar.gz
xv6-labs-74c82bc1584dda4cee6b0788055a52c32a10b2e0.tar.bz2
xv6-labs-74c82bc1584dda4cee6b0788055a52c32a10b2e0.zip
nits
Diffstat (limited to 'kalloc.c')
-rw-r--r--kalloc.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/kalloc.c b/kalloc.c
index 200ea8d..7f47853 100644
--- a/kalloc.c
+++ b/kalloc.c
@@ -23,16 +23,6 @@ struct {
int nfreemem;
-static void
-printfreelist(void)
-{
- struct run *r, **rp;
- cprintf("freelist:\n");
- for(rp=&kmem.freelist; (r=*rp) != 0; rp=&r->next){
- cprintf("0x%x %d=0x%x\n", r, r->len, r->len);
- }
-}
-
// Initialize free list of physical pages.
// This code cheats by just considering one megabyte of
// pages after end. Real systems would determine the