seqlocks: trivial remove weird whitespace
Signed-off-by: Daniel Walker <dwalker@mvista.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
b928ed5618
commit
20f09390b2
@@ -61,10 +61,10 @@ static inline void write_seqlock(seqlock_t *sl)
|
|||||||
{
|
{
|
||||||
spin_lock(&sl->lock);
|
spin_lock(&sl->lock);
|
||||||
++sl->sequence;
|
++sl->sequence;
|
||||||
smp_wmb();
|
smp_wmb();
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void write_sequnlock(seqlock_t *sl)
|
static inline void write_sequnlock(seqlock_t *sl)
|
||||||
{
|
{
|
||||||
smp_wmb();
|
smp_wmb();
|
||||||
sl->sequence++;
|
sl->sequence++;
|
||||||
@@ -77,7 +77,7 @@ static inline int write_tryseqlock(seqlock_t *sl)
|
|||||||
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
++sl->sequence;
|
++sl->sequence;
|
||||||
smp_wmb();
|
smp_wmb();
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user