From: "Emilio G. Cota" <c...@braap.org> Signed-off-by: Emilio G. Cota <c...@braap.org> Message-Id: <1440375847-17603-7-git-send-email-c...@braap.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> --- include/qemu/seqlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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(); -- 2.4.3