diff options
author | Luiz Souza <luiz@netgate.com> | 2018-02-23 19:40:39 -0300 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2018-02-23 19:40:39 -0300 |
commit | 9e3f9eb19aae437c111a95ba286571c3d9cfcf7e (patch) | |
tree | 8fb26b9ab223341823fa6d64b3743de9220ed044 /sys/kern/kern_thr.c | |
parent | 810d45dfd8239a4b42661bd4bb4e470e3a41799d (diff) | |
download | FreeBSD-src-9e3f9eb19aae437c111a95ba286571c3d9cfcf7e.zip FreeBSD-src-9e3f9eb19aae437c111a95ba286571c3d9cfcf7e.tar.gz |
Revert "Revert "MFC r319873:""
This reverts commit 4c9907d21517c211b27a3cf5b7a2a976623820cc.
Diffstat (limited to 'sys/kern/kern_thr.c')
-rw-r--r-- | sys/kern/kern_thr.c | 1 |
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); |