OSDN Git Service

atomics: Add __nocheck atomic operations
authorRichard Henderson <rth@twiddle.net>
Mon, 24 Oct 2016 17:29:32 +0000 (10:29 -0700)
committerRichard Henderson <rth@twiddle.net>
Wed, 26 Oct 2016 15:28:57 +0000 (08:28 -0700)
commit84bca3927b36fb1d9a2ca85cbbdf9023d2b84678
treea6abbc1f644b374178c1517051df1a68e2141769
parent83d0c719f837724d9e3963b078211b2242bdd2a5
atomics: Add __nocheck atomic operations

While the check against sizeof(void *) is appropriate for
normal usage within qemu, there are places in which we want
wider operaions and have checked for their existance.

Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
include/qemu/atomic.h