]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r303923:
authored <ed@FreeBSD.org>
Mon, 15 Aug 2016 11:16:43 +0000 (11:16 +0000)
committered <ed@FreeBSD.org>
Mon, 15 Aug 2016 11:16:43 +0000 (11:16 +0000)
commit57dc175a34ff457a71a1b9dd76dd0ab79131f07c
tree2b4b7b5d529ef101d69b2ce593e51d125e111085
parentc3de4b6b3711ab2790410221c5295ff5c206fc2d
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
sys/arm64/arm64/vm_machdep.c