clear_pte_u -> clearpteu

This commit is contained in:
Austin Clements 2011-09-02 14:37:04 -04:00
parent 91aa0f3296
commit 2eb214c9db
3 changed files with 4 additions and 4 deletions

2
exec.c
View file

@ -55,7 +55,7 @@ exec(char *path, char **argv)
sz = PGROUNDUP(sz);
if((sz = allocuvm(pgdir, sz, sz + 2*PGSIZE)) == 0)
goto bad;
clear_pte_u(pgdir, (char*)(sz-2*PGSIZE));
clearpteu(pgdir, (char*)(sz - 2*PGSIZE));
sp = sz;
// Push argument strings, prepare rest of stack in ustack.