aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2015-08-23 20:23:35 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2015-09-07 18:12:31 +0200
commit123fdbac9b8f1e394fbe92e8b5359193e94ba5bf (patch)
tree9fce54f70cf78238ca8885b9308b23ab0242efd6
parent16ef9d0252318d7e32e445fd7474af55dbaab7db (diff)
downloadqemu-123fdbac9b8f1e394fbe92e8b5359193e94ba5bf.zip
qemu-123fdbac9b8f1e394fbe92e8b5359193e94ba5bf.tar.gz
qemu-123fdbac9b8f1e394fbe92e8b5359193e94ba5bf.tar.bz2
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>
-rw-r--r--include/qemu/seqlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/seqlock.h b/include/qemu/seqlock.h
index 3ff118a..f1256f5 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();