summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread
diff options
context:
space:
mode:
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