diff options
| author | Pranith Kumar | 2016-08-29 19:17:01 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2016-09-13 19:09:44 +0200 |
| commit | 89943de17c4e276f2c47f05b4604e8816a6a636c (patch) | |
| tree | 658abe8cd074bb6a9b7a6ff6b0695342a58cfbfd /pc-bios | |
| parent | atomics: Remove redundant barrier()'s (diff) | |
| download | qemu-89943de17c4e276f2c47f05b4604e8816a6a636c.tar.gz qemu-89943de17c4e276f2c47f05b4604e8816a6a636c.tar.xz qemu-89943de17c4e276f2c47f05b4604e8816a6a636c.zip | |
atomics: Use __atomic_*_n() variant primitives
Use the __atomic_*_n() primitives which take the value as argument. It
is not necessary to store the value locally before calling the
primitive, hence saving us a stack store and load.
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Message-Id: <20160829171701.14025-1-bobby.prani@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions
