Remove unused argument to setupkvm (thanks to Peter Froehlich)
This commit is contained in:
parent
70c555574a
commit
4ce832ddd2
4 changed files with 4 additions and 4 deletions
2
proc.c
2
proc.c
|
@ -83,7 +83,7 @@ userinit(void)
|
|||
|
||||
p = allocproc();
|
||||
initproc = p;
|
||||
if((p->pgdir = setupkvm(kalloc)) == 0)
|
||||
if((p->pgdir = setupkvm()) == 0)
|
||||
panic("userinit: out of memory?");
|
||||
inituvm(p->pgdir, _binary_initcode_start, (int)_binary_initcode_size);
|
||||
p->sz = PGSIZE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue