diff options
author | Emilio G. Cota <cota@braap.org> | 2015-08-23 20:23:35 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-09-07 18:12:31 +0200 |
commit | 123fdbac9b8f1e394fbe92e8b5359193e94ba5bf (patch) | |
tree | 9fce54f70cf78238ca8885b9308b23ab0242efd6 /include | |
parent | 16ef9d0252318d7e32e445fd7474af55dbaab7db (diff) | |
download | qemu-123fdbac9b8f1e394fbe92e8b5359193e94ba5bf.tar.gz qemu-123fdbac9b8f1e394fbe92e8b5359193e94ba5bf.tar.bz2 qemu-123fdbac9b8f1e394fbe92e8b5359193e94ba5bf.zip |
seqlock: add missing 'inline' to seqlock_read_retry
Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <1440375847-17603-7-git-send-email-cota@braap.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/seqlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/seqlock.h b/include/qemu/seqlock.h index 3ff118a1a1..f1256f5487 100644 --- a/include/qemu/seqlock.h +++ b/include/qemu/seqlock.h @@ -62,7 +62,7 @@ static inline unsigned seqlock_read_begin(QemuSeqLock *sl) return ret; } -static int seqlock_read_retry(const QemuSeqLock *sl, unsigned start) +static inline int seqlock_read_retry(const QemuSeqLock *sl, unsigned start) { /* Read other fields before reading final sequence. */ smp_rmb(); |