summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_kse.c2
-rw-r--r--sys/kern/kern_sig.c2
-rw-r--r--sys/kern/kern_thread.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c
index 0f3795e..fcc8857 100644
--- a/sys/kern/kern_kse.c
+++ b/sys/kern/kern_kse.c
@@ -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));
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index 0e4c5b5..07a4efb 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -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,
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index 0f3795e..fcc8857 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -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));
OpenPOWER on IntegriCloud