mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Properly clear PCB_KERNNPX in fpu_kern_leave().
PR: 250423 Reported by: CI Tested by: lwhsu
This commit is contained in:
parent
4caea9b169
commit
eeb4c816d6
1 changed files with 1 additions and 1 deletions
|
|
@ -1475,7 +1475,7 @@ fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx)
|
|||
if ((pcb->pcb_flags & PCB_NPXUSERINITDONE) != 0) {
|
||||
pcb->pcb_flags |= PCB_NPXINITDONE;
|
||||
if ((pcb->pcb_flags & PCB_KERNNPX_THR) == 0)
|
||||
pcb->pcb_flags |= ~PCB_KERNNPX;
|
||||
pcb->pcb_flags &= ~PCB_KERNNPX;
|
||||
} else if ((pcb->pcb_flags & PCB_KERNNPX_THR) == 0)
|
||||
pcb->pcb_flags &= ~(PCB_NPXINITDONE | PCB_KERNNPX);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue