Remove unused argument to setupkvm (thanks to Peter Froehlich)

This commit is contained in:
Frans Kaashoek 2012-08-22 20:19:37 -04:00
parent 70c555574a
commit 4ce832ddd2
4 changed files with 4 additions and 4 deletions

2
proc.c
View file

@ -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;