fix 'kfree' comment in kalloc.c
'kfree' has a parameter named 'pa' but referenced in the comment as 'v'.
This commit is contained in:
parent
c1c16269b1
commit
9f3673c4da
|
@ -39,7 +39,7 @@ freerange(void *pa_start, void *pa_end)
|
||||||
kfree(p);
|
kfree(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Free the page of physical memory pointed at by v,
|
// Free the page of physical memory pointed at by pa,
|
||||||
// which normally should have been returned by a
|
// which normally should have been returned by a
|
||||||
// call to kalloc(). (The exception is when
|
// call to kalloc(). (The exception is when
|
||||||
// initializing the allocator; see kinit above.)
|
// initializing the allocator; see kinit above.)
|
||||||
|
|
Loading…
Reference in a new issue