summaryrefslogtreecommitdiffstats
path: root/pc-bios
diff options
context:
space:
mode:
authorPranith Kumar2016-08-29 19:17:01 +0200
committerPaolo Bonzini2016-09-13 19:09:44 +0200
commit89943de17c4e276f2c47f05b4604e8816a6a636c (patch)
tree658abe8cd074bb6a9b7a6ff6b0695342a58cfbfd /pc-bios
parentatomics: Remove redundant barrier()'s (diff)
downloadqemu-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