diff options
author | Frans Kaashoek <[email protected]> | 2012-08-22 20:19:37 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2012-08-22 20:19:37 -0400 |
commit | 4ce832ddd280a4cea36e16115ddeaea74213314e (patch) | |
tree | cc6645d198141f6df0a1afacc5add661f8dc0ad3 /proc.c | |
parent | 70c555574a140b2696d6f1a5aa524902ef4c820c (diff) | |
download | xv6-labs-4ce832ddd280a4cea36e16115ddeaea74213314e.tar.gz xv6-labs-4ce832ddd280a4cea36e16115ddeaea74213314e.tar.bz2 xv6-labs-4ce832ddd280a4cea36e16115ddeaea74213314e.zip |
Remove unused argument to setupkvm (thanks to Peter Froehlich)
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |