diff options
author | Robert Morris <[email protected]> | 2012-08-28 12:57:13 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2012-08-28 12:57:13 -0400 |
commit | c1ee7eb4d31bd17e48857479fec8f4c2065d4b7d (patch) | |
tree | e54d9304b6f5d90bdf7a926808fd7d5923d39526 /proc.c | |
parent | 8960f60b30b69a1f45ffa9d8b2b204714725f1fa (diff) | |
parent | 951b77f7eced2165312d5c12d6256e874dba10f8 (diff) | |
download | xv6-labs-c1ee7eb4d31bd17e48857479fec8f4c2065d4b7d.tar.gz xv6-labs-c1ee7eb4d31bd17e48857479fec8f4c2065d4b7d.tar.bz2 xv6-labs-c1ee7eb4d31bd17e48857479fec8f4c2065d4b7d.zip |
Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
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; |