| 372 | } |
| 373 | |
| 374 | int |
| 375 | is_fpu_kern_thread(u_int flags) |
| 376 | { |
| 377 | struct pcb *curpcb; |
| 378 | |
| 379 | if ((curthread->td_pflags & TDP_KTHREAD) == 0) |
| 380 | return (0); |
| 381 | curpcb = curthread->td_pcb; |
| 382 | return ((curpcb->pcb_fpflags & PCB_FP_KERN) != 0); |
| 383 | } |
| 384 | #endif |
no outgoing calls
no test coverage detected