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:
Emilio G. Cota 2015-08-23 20:23:35 -04:00 committed by Paolo Bonzini
parent 16ef9d0252
commit 123fdbac9b
1 changed files with 1 additions and 1 deletions

View File

@ -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();