mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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.
This commit is contained in:
parent
5e0ca5771b
commit
be779e1ae2
1 changed files with 0 additions and 9 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue