atomics: Add parameters to macros
commitd1a9f2d12fcfc942924956fbe321aedf4226ccb7
authorRichard Henderson <rth@twiddle.net>
Mon, 24 Oct 2016 16:49:25 +0000 (24 09:49 -0700)
committerRichard Henderson <rth@twiddle.net>
Wed, 26 Oct 2016 15:28:46 +0000 (26 08:28 -0700)
treeb0005ecb7c36300f1398a1c1f4c2198a008d5862
parentede0cbeb7892bdf4a19128853a3a3c61a17fb068
atomics: Add parameters to macros

Making these functional rather than object macros will
prevent later problems with complex macro expansion.

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