mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
arm64: Trim duplicate code from cpu_fork_kthread_handler().
cpu_fork_kthread_handler() is always called after either cpu_fork() or cpu_copy_thread(). The arm64 version was duplicating some of the work already done by both of those functions. Sponsored by: Netflix
This commit is contained in:
parent
33f38c8a98
commit
c7f3aa34cf
1 changed files with 0 additions and 4 deletions
|
|
@ -265,10 +265,6 @@ cpu_fork_kthread_handler(struct thread *td, void (*func)(void *), void *arg)
|
|||
|
||||
td->td_pcb->pcb_x[8] = (uintptr_t)func;
|
||||
td->td_pcb->pcb_x[9] = (uintptr_t)arg;
|
||||
td->td_pcb->pcb_lr = (uintptr_t)fork_trampoline;
|
||||
td->td_pcb->pcb_sp = (uintptr_t)td->td_frame;
|
||||
td->td_pcb->pcb_fpusaved = &td->td_pcb->pcb_fpustate;
|
||||
td->td_pcb->pcb_vfpcpu = UINT_MAX;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue