summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorAustin Clements <[email protected]>2011-09-02 14:37:04 -0400
committerAustin Clements <[email protected]>2011-09-02 14:37:04 -0400
commit2eb214c9dbdd7b7b90997531c171196fc3bd0e9f (patch)
tree1015fffeca8f5e107768ab6df411d86c34d1e449 /exec.c
parent91aa0f3296ea0b38dd8d008224271639e5d7b53a (diff)
downloadxv6-labs-2eb214c9dbdd7b7b90997531c171196fc3bd0e9f.tar.gz
xv6-labs-2eb214c9dbdd7b7b90997531c171196fc3bd0e9f.tar.bz2
xv6-labs-2eb214c9dbdd7b7b90997531c171196fc3bd0e9f.zip
clear_pte_u -> clearpteu
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index af9e006..4be65a4 100644
--- a/exec.c
+++ b/exec.c
@@ -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.