summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_thr.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2017-07-21 18:06:57 +0000
committerLuiz Souza <luiz@netgate.com>2018-02-19 14:38:58 -0300
commit5dad0dd804a33b8a372d49fa342b24c67b1c2fb3 (patch)
treedcd2066d75216c10efafd5b88288a142e2ab0bd6 /sys/kern/kern_thr.c
parentba6ece08e939b4f3d25e9e81956e8d622ed1fc2e (diff)
downloadFreeBSD-src-5dad0dd804a33b8a372d49fa342b24c67b1c2fb3.zip
FreeBSD-src-5dad0dd804a33b8a372d49fa342b24c67b1c2fb3.tar.gz
MFC r319873:
Move struct syscall_args syscall arguments parameters container into struct thread. (cherry picked from commit 985b26c6741218c134a15526fd32b736bd73fa8a)
Diffstat (limited to 'sys/kern/kern_thr.c')
-rw-r--r--sys/kern/kern_thr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c
index c39986d..6bebac9 100644
--- a/sys/kern/kern_thr.c
+++ b/sys/kern/kern_thr.c
@@ -235,6 +235,7 @@ thread_create(struct thread *td, struct rtprio *rtp,
newtd->td_sleeptimo = 0;
bcopy(&td->td_startcopy, &newtd->td_startcopy,
__rangeof(struct thread, td_startcopy, td_endcopy));
+ newtd->td_sa = td->td_sa;
newtd->td_proc = td->td_proc;
newtd->td_rb_list = newtd->td_rbp_list = newtd->td_rb_inact = 0;
thread_cow_get(newtd, td);
OpenPOWER on IntegriCloud