mirror of
https://github.com/opnsense/src.git
synced 2026-04-27 17:17:19 -04:00
Part of a bandaid to get libc_r on air again.
Submitted by: Dan Eischen (deischen@freebsd.org) Pointy hat for breakage just before going offline: Mini@freebsd.org
This commit is contained in:
parent
f461cf2297
commit
67d7ad01aa
1 changed files with 4 additions and 0 deletions
|
|
@ -113,8 +113,10 @@ _thread_kern_sched(ucontext_t *ucp)
|
|||
|
||||
/* Check if this function was called from the signal handler: */
|
||||
if (ucp != NULL) {
|
||||
#if 0
|
||||
/* XXX - Save FP registers? */
|
||||
FP_SAVE_UC(ucp);
|
||||
#endif
|
||||
called_from_handler = 1;
|
||||
DBG_MSG("Entering scheduler due to signal\n");
|
||||
}
|
||||
|
|
@ -156,8 +158,10 @@ _thread_kern_sched(ucontext_t *ucp)
|
|||
if (ucp == NULL)
|
||||
return;
|
||||
else {
|
||||
#if 0
|
||||
/* XXX - Restore FP registers? */
|
||||
FP_RESTORE_UC(ucp);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Set the process signal mask in the context; it
|
||||
|
|
|
|||
Loading…
Reference in a new issue