summaryrefslogtreecommitdiff
path: root/include/linux/seqlock.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2021-03-19 14:10:49 +0300
committerIngo Molnar <mingo@kernel.org>2021-03-19 14:10:49 +0300
commit01438749e36bfe53ea25c91568019be775a9782e (patch)
treef91f5abae2004863afda683589d034dcd2000ab8 /include/linux/seqlock.h
parent4faf62b1ef1a9367f7dcf8b7ce509980dfdcee83 (diff)
parentbee645788e07eea63055d261d2884ea45c2ba857 (diff)
downloadlinux-01438749e36bfe53ea25c91568019be775a9782e.tar.xz
Merge branch 'locking/urgent' into locking/core, to pick up dependent commits
We are applying further, lower-prio fixes on top of two ww_mutex fixes in locking/urgent. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/seqlock.h')
-rw-r--r--include/linux/seqlock.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h
index 2f7bb92b4c9e..f61e34fbaaea 100644
--- a/include/linux/seqlock.h
+++ b/include/linux/seqlock.h
@@ -664,10 +664,7 @@ typedef struct {
* seqcount_latch_init() - runtime initializer for seqcount_latch_t
* @s: Pointer to the seqcount_latch_t instance
*/
-static inline void seqcount_latch_init(seqcount_latch_t *s)
-{
- seqcount_init(&s->seqcount);
-}
+#define seqcount_latch_init(s) seqcount_init(&(s)->seqcount)
/**
* raw_read_seqcount_latch() - pick even/odd latch data copy