diff options
author | Pranith Kumar <bobby.prani@gmail.com> | 2016-08-29 13:17:01 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-13 19:09:44 +0200 |
commit | 89943de17c4e276f2c47f05b4604e8816a6a636c (patch) | |
tree | 658abe8cd074bb6a9b7a6ff6b0695342a58cfbfd /scripts | |
parent | 705ac1ca539ba05ab52c3290ccb45f9e47aa7c5e (diff) |
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 'scripts')
0 files changed, 0 insertions, 0 deletions