fix 'kfree' comment in kalloc.c

'kfree' has a parameter named 'pa' but referenced in the comment as 'v'.
This commit is contained in:
WaheedHafez 2021-11-19 18:45:49 +02:00 committed by Frans Kaashoek
parent f33f0d8622
commit 96da76a728

View file

@ -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.)