tcg/aarch64: Make direct jump patching thread-safe
authorSergey Fedorov <serge.fdrv@gmail.com>
Fri, 22 Apr 2016 16:08:50 +0000 (19:08 +0300)
committerRichard Henderson <rth@twiddle.net>
Fri, 13 May 2016 00:06:41 +0000 (14:06 -1000)
commit9e269112953be4d670cb0d25042bd6546fcf3e45
tree5fee12d3d27049af5e883e2026be6e336c93b7de
parent7d14e0e2d661479985197203589c38840e1066df
tcg/aarch64: Make direct jump patching thread-safe

Ensure direct jump patching in AArch64 is atomic by using
atomic_read()/atomic_set() for code patching.

Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Signed-off-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Message-Id: <1461341333-19646-9-git-send-email-sergey.fedorov@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/aarch64/tcg-target.inc.c