Commit 123fdbac authored by Emilio G. Cota's avatar Emilio G. Cota Committed by Paolo Bonzini
Browse files

seqlock: add missing 'inline' to seqlock_read_retry



Signed-off-by: default avatarEmilio G. Cota <cota@braap.org>
Message-Id: <1440375847-17603-7-git-send-email-cota@braap.org>
Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 16ef9d02
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();