]> git.proxmox.com Git - mirror_qemu.git/commit - util/qsp.c
qemu/atomic: Add aligned_{int64,uint64}_t types
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 16 Jul 2021 15:17:18 +0000 (08:17 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 21 Jul 2021 17:45:38 +0000 (07:45 -1000)
commit9ef0c6d6a7d81992a2326416a9ce12eef2824861
treedc4c99d93f6823e1cca48772a23cd8926bce3ee8
parent47345e7124709d280f14551113a20fd81ad2bf20
qemu/atomic: Add aligned_{int64,uint64}_t types

Use it to avoid some clang-12 -Watomic-alignment errors,
forcing some structures to be aligned and as a pointer when
we have ensured that the address is aligned.

Tested-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/atomic_template.h
include/qemu/atomic.h
include/qemu/stats64.h
linux-user/hppa/cpu_loop.c
softmmu/timers-state.h
util/qsp.c