diff options
Diffstat (limited to 'sys/src/9/teg2/vfp3.c')
| -rw-r--r-- | sys/src/9/teg2/vfp3.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sys/src/9/teg2/vfp3.c b/sys/src/9/teg2/vfp3.c index 16d45490e..6d14f34cf 100644 --- a/sys/src/9/teg2/vfp3.c +++ b/sys/src/9/teg2/vfp3.c @@ -239,33 +239,6 @@ fpunoted(void) up->fpstate &= ~FPillegal; } -/* - * Called early in the non-interruptible path of - * sysrfork() via the machine-dependent syscall() routine. - * Save the state so that it can be easily copied - * to the child process later. - */ -void -fpusysrfork(Ureg*) -{ - if(up->fpstate == FPactive){ - fpsave(&up->fpsave); - up->fpstate = FPinactive; - } -} - -/* - * Called later in sysrfork() via the machine-dependent - * sysrforkchild() routine. - * Copy the parent FPU state to the child. - */ -void -fpusysrforkchild(Proc *p, Ureg *, Proc *up) -{ - /* don't penalize the child, it hasn't done FP in a note handler. */ - p->fpstate = up->fpstate & ~FPillegal; -} - /* should only be called if p->fpstate == FPactive */ void fpsave(FPsave *fps) |
