Re: [PATCH v2 2/5] seqlock: Use unique prefix for seqcount_t property accessors

2020-09-08 Thread peterz
On Fri, Sep 04, 2020 at 05:32:28PM +0200, Ahmed S. Darwish wrote: > static __always_inline seqcount_t * \ > -__seqcount_##lockname##_ptr(seqcount_##lockname##_t *s) > \ > +__seqprop_seqcount_##lockname##_ptr(seqcount_##lockname##_t *s)

[PATCH v2 2/5] seqlock: Use unique prefix for seqcount_t property accessors

2020-09-04 Thread Ahmed S. Darwish
At seqlock.h, the following set of functions: - __seqcount_ptr() - __seqcount_preemptible() - __seqcount_assert() act as plain seqcount_t "property" accessors. Meanwhile, the following group: - __seqcount_ptr() - __seqcount_lock_preemptible() -