mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Fix build.
This commit is contained in:
parent
4a62a3e556
commit
d8410b8edf
1 changed files with 1 additions and 1 deletions
|
|
@ -1045,7 +1045,7 @@ thread_schedule_upcall(struct thread *td, struct kse_upcall *ku)
|
|||
__rangeof(struct thread, td_startcopy, td_endcopy));
|
||||
sched_fork_thread(td, td2);
|
||||
thread_link(td2, ku->ku_proc);
|
||||
bcopy(ku->ku_comm, td2->td_name, sizeof(td2->td_name));
|
||||
bcopy(ku->ku_proc->p_comm, td2->td_name, sizeof(td2->td_name));
|
||||
/* inherit parts of blocked thread's context as a good template */
|
||||
cpu_set_upcall(td2, td);
|
||||
/* Let the new thread become owner of the upcall */
|
||||
|
|
|
|||
Loading…
Reference in a new issue