diff options
author | Sergey Fedorov <serge.fdrv@gmail.com> | 2016-04-22 19:08:48 +0300 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2016-05-12 14:06:41 -1000 |
commit | ed3d51ecd7fe248d3959e469d53890ac9ffe0cd2 (patch) | |
tree | 2bb706344e30ab4fddf8a7c2ade4424f9afa1070 /qemu-img.c | |
parent | 0d07abf05e98903c7faf204a9a90f7d45b7554dc (diff) | |
download | qemu-ed3d51ecd7fe248d3959e469d53890ac9ffe0cd2.zip qemu-ed3d51ecd7fe248d3959e469d53890ac9ffe0cd2.tar.gz qemu-ed3d51ecd7fe248d3959e469d53890ac9ffe0cd2.tar.bz2 |
tcg/s390: Make direct jump patching thread-safe
Ensure direct jump patching in s390 is atomic by:
* naturally aligning a location of direct jump address;
* 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-7-git-send-email-sergey.fedorov@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions