diff options
| author | Robert Morris <rtm@csail.mit.edu> | 2016-08-24 13:40:06 -0400 |
|---|---|---|
| committer | Robert Morris <rtm@csail.mit.edu> | 2016-08-24 13:40:06 -0400 |
| commit | a7c03bd91490a10383b7241e41f79e57a09cf212 (patch) | |
| tree | 912c7602a573f0fd1e676771f082018b6a48b56d /kalloc.c | |
| parent | 7a77375d64675a6d05b47531ebb24205a3f36483 (diff) | |
| download | xv6-labs-2022-a7c03bd91490a10383b7241e41f79e57a09cf212.tar.xz xv6-labs-2022-a7c03bd91490a10383b7241e41f79e57a09cf212.zip | |
p2v -> P2V
Diffstat (limited to 'kalloc.c')
| -rw-r--r-- | kalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ kfree(char *v) { struct run *r; - if((uint)v % PGSIZE || v < end || v2p(v) >= PHYSTOP) + if((uint)v % PGSIZE || v < end || V2P(v) >= PHYSTOP) panic("kfree"); // Fill with junk to catch dangling refs. |
