Rename thread_siginfo to cpu_thread_siginfo
This commit is contained in:
parent
5d3117d7f0
commit
15825cd99f
@ -1492,7 +1492,7 @@ thread_signal_add(struct thread *td, int sig)
|
||||
ps = p->p_sigacts;
|
||||
mtx_assert(&ps->ps_mtx, MA_OWNED);
|
||||
|
||||
thread_siginfo(sig, 0, &siginfo);
|
||||
cpu_thread_siginfo(sig, 0, &siginfo);
|
||||
mtx_unlock(&ps->ps_mtx);
|
||||
PROC_UNLOCK(p);
|
||||
error = copyout(&siginfo, &td->td_mailbox->tm_syncsig, sizeof(siginfo));
|
||||
|
@ -1509,7 +1509,7 @@ trapsignal(struct thread *td, int sig, u_long code)
|
||||
ps->ps_sigact[_SIG_IDX(sig)], sig,
|
||||
&td->td_sigmask, code);
|
||||
else {
|
||||
thread_siginfo(sig, code, &siginfo);
|
||||
cpu_thread_siginfo(sig, code, &siginfo);
|
||||
mtx_unlock(&ps->ps_mtx);
|
||||
PROC_UNLOCK(p);
|
||||
error = copyout(&siginfo, &td->td_mailbox->tm_syncsig,
|
||||
|
@ -1492,7 +1492,7 @@ thread_signal_add(struct thread *td, int sig)
|
||||
ps = p->p_sigacts;
|
||||
mtx_assert(&ps->ps_mtx, MA_OWNED);
|
||||
|
||||
thread_siginfo(sig, 0, &siginfo);
|
||||
cpu_thread_siginfo(sig, 0, &siginfo);
|
||||
mtx_unlock(&ps->ps_mtx);
|
||||
PROC_UNLOCK(p);
|
||||
error = copyout(&siginfo, &td->td_mailbox->tm_syncsig, sizeof(siginfo));
|
||||
|
Loading…
Reference in New Issue
Block a user