summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2016-08-15 11:16:43 +0000
committered <ed@FreeBSD.org>2016-08-15 11:16:43 +0000
commit57dc175a34ff457a71a1b9dd76dd0ab79131f07c (patch)
tree2b4b7b5d529ef101d69b2ce593e51d125e111085 /sys/kern/kern_fork.c
parentc3de4b6b3711ab2790410221c5295ff5c206fc2d (diff)
downloadFreeBSD-src-57dc175a34ff457a71a1b9dd76dd0ab79131f07c.zip
FreeBSD-src-57dc175a34ff457a71a1b9dd76dd0ab79131f07c.tar.gz
MFC r303923:
Make cpu_set_user_tls() work when called on the running thread. On all the other architectures, this function can also be called on the currently running thread. In this case, we shouldn't fix up the address in the PCB, but also patch up the register itself. Otherwise it will not become active and will simply become overwritten by the next switch. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D7437
Diffstat (limited to 'sys/kern/kern_fork.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud