* [PATCH] seqlocks: trivial remove weird whitespace
@ 2007-04-13 20:11 Daniel Walker
0 siblings, 0 replies; only message in thread
From: Daniel Walker @ 2007-04-13 20:11 UTC (permalink / raw)
To: linux-kernel; +Cc: akpm
Signed-Off-By: Daniel Walker <dwalker@mvista.com>
---
include/linux/seqlock.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Index: linux-2.6.20/include/linux/seqlock.h
===================================================================
--- linux-2.6.20.orig/include/linux/seqlock.h
+++ linux-2.6.20/include/linux/seqlock.h
@@ -61,10 +61,10 @@ static inline void write_seqlock(seqlock
{
spin_lock(&sl->lock);
++sl->sequence;
- smp_wmb();
-}
+ smp_wmb();
+}
-static inline void write_sequnlock(seqlock_t *sl)
+static inline void write_sequnlock(seqlock_t *sl)
{
smp_wmb();
sl->sequence++;
@@ -77,7 +77,7 @@ static inline int write_tryseqlock(seqlo
if (ret) {
++sl->sequence;
- smp_wmb();
+ smp_wmb();
}
return ret;
}
--
--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-13 20:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-13 20:11 [PATCH] seqlocks: trivial remove weird whitespace Daniel Walker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®