summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2002-10-05 02:22:26 +0000
committerdeischen <deischen@FreeBSD.org>2002-10-05 02:22:26 +0000
commit742f14e50717e97a1d9215eee783592f31c8d45c (patch)
tree6df5d703fede7ed1d20ce8af9dd1b986e949d230 /lib/libc_r/uthread
parentbe995d42bcbe8b7c3301c4c726358ca457e43331 (diff)
downloadFreeBSD-src-742f14e50717e97a1d9215eee783592f31c8d45c.zip
FreeBSD-src-742f14e50717e97a1d9215eee783592f31c8d45c.tar.gz
Once again, remove the i386-specific hacks to save and restore
the FPU state on receiving and returning from a signal. The FPU save and restore macros are no longer needed, but remain defined in case we need to use them again (something else breaks). They'll be removed permanently once new syscalls are added to handle the new i386 ucontext size.
Diffstat (limited to 'lib/libc_r/uthread')
-rw-r--r--lib/libc_r/uthread/uthread_kern.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/libc_r/uthread/uthread_kern.c b/lib/libc_r/uthread/uthread_kern.c
index b18f944..35953a5 100644
--- a/lib/libc_r/uthread/uthread_kern.c
+++ b/lib/libc_r/uthread/uthread_kern.c
@@ -113,10 +113,6 @@ _thread_kern_sched(ucontext_t *ucp)
/* Check if this function was called from the signal handler: */
if (ucp != NULL) {
-#if 1
- /* XXX - Save FP registers? */
- FP_SAVE_UC(ucp);
-#endif
called_from_handler = 1;
DBG_MSG("Entering scheduler due to signal\n");
}
@@ -158,11 +154,6 @@ _thread_kern_sched(ucontext_t *ucp)
if (ucp == NULL)
return;
else {
-#if 1
- /* XXX - Restore FP registers? */
- FP_RESTORE_UC(ucp);
-#endif
-
/*
* Set the process signal mask in the context; it
* could have changed by the handler.
OpenPOWER on IntegriCloud