mirror of https://gitee.com/openkylin/qemu.git
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>
This commit is contained in:
parent
16ef9d0252
commit
123fdbac9b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue