]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/ppc/trap.c
kernel: implement portable userinit() and simplify process creation
[plan9front.git] / sys / src / 9 / ppc / trap.c
index ebfb87fe699a98006433b8d66c731ddf2f5acbb4..b11b9fa0d78e6261f52dbe60cfbcdd5a98ac7850 100644 (file)
@@ -553,10 +553,6 @@ forkchild(Proc *p, Ureg *ur)
        cur = (Ureg*)(p->sched.sp+2*BY2WD);
        memmove(cur, ur, sizeof(Ureg));
        cur->r3 = 0;
-       
-       /* Things from bottom of syscall we never got to execute */
-       p->psstate = 0;
-       p->insyscall = 0;
 }
 
 uintptr