diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2017-09-11 17:49:36 -0300 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2017-09-17 06:52:19 -0700 |
commit | ba026602a673677735428e64e621cdf95b5cd6d9 (patch) | |
tree | 6aa2a9f8f6c7fba21f47d92dfdc1cd28100d268a /block/file-posix.c | |
parent | 5ee53d1593dfc071275b13b1228c70bb88f4aaee (diff) |
tcg/ppc: disable atomic write check on ppc32
This fixes building for ppc64 on ppc32 (changed in 5964fca8a12c):
tcg/ppc/tcg-target.inc.c: In function 'tb_target_set_jmp_target':
include/qemu/compiler.h:86:30: error: static assertion failed: \
"not expecting: sizeof(*(uint64_t *)jmp_addr) > ATOMIC_REG_SIZE"
QEMU_BUILD_BUG_ON(sizeof(*ptr) > ATOMIC_REG_SIZE); \
^
tcg/ppc/tcg-target.inc.c:1377:9: note: in expansion of macro 'atomic_set'
atomic_set((uint64_t *)jmp_addr, pair);
^
Suggested-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20170911204936.5020-1-f4bug@amsat.org>
[rth: Added commentary requested by pmm.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'block/file-posix.c')
0 files changed, 0 insertions, 0 deletions