diff options
| author | Alex Bennée | 2016-04-04 16:35:48 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2016-04-05 11:46:52 +0200 |
| commit | ccffff48c93c30733783b05cd1ef843a4c274653 (patch) | |
| tree | 25b3be1fc0fef438d0901d5537f627ed466a5de0 /include | |
| parent | nbd: don't request FUA on FLUSH (diff) | |
| download | qemu-ccffff48c93c30733783b05cd1ef843a4c274653.tar.gz qemu-ccffff48c93c30733783b05cd1ef843a4c274653.tar.xz qemu-ccffff48c93c30733783b05cd1ef843a4c274653.zip | |
cpus: don't use atomic_read for vm_clock_warp_start
As vm_clock_warp_start is a 64 bit value this causes problems for the
compiler trying to come up with a suitable atomic operation on 32 bit
hosts. Because the variable is protected by vm_clock_seqlock, we check its
value inside a seqlock critical section.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <1459780549-12942-2-git-send-email-alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
