diff --git a/include/qemu/seqlock.h b/include/qemu/seqlock.h index 3ff118a1a1f5d2a2b3cc32c957b153452f995ae2..f1256f5487f30e0696fc0170d01a6f5151cee4b8 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();