aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2016-08-10 15:45:25 +0000
committerEd Schouten <ed@FreeBSD.org>2016-08-10 15:45:25 +0000
commit66bd4c2eeb2e15f721ff01f0e4a658ae3198174e (patch)
tree8eccc09dd20701d11ce7c38c456e67d7d392de79 /sys/ufs
parent7c34b35b5725b67833d32336902348a627bebc6b (diff)
downloadsrc-66bd4c2eeb2e15f721ff01f0e4a658ae3198174e.tar.gz
src-66bd4c2eeb2e15f721ff01f0e4a658ae3198174e.zip
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 MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D7437
Notes
Notes: svn path=/head/; revision=303923
Diffstat (limited to 'sys/ufs')
0 files changed, 0 insertions, 0 deletions