]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
seqlock: seqcount latch APIs: Only allow seqcount_latch_t
authorAhmed S. Darwish <a.darwish@linutronix.de>
Thu, 27 Aug 2020 11:40:44 +0000 (13:40 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 10 Sep 2020 09:19:30 +0000 (11:19 +0200)
commit0c9794c8b6781eb7dad8e19b78c5d4557790597a
tree3ff88ef1eee674882df3e7a174df462ce15f37b0
parent24bf401cebfd630cc9e2c3746e43945e836626f9
seqlock: seqcount latch APIs: Only allow seqcount_latch_t

All latch sequence counter call-sites have now been converted from plain
seqcount_t to the new seqcount_latch_t data type.

Enforce type-safety by modifying seqlock.h latch APIs to only accept
seqcount_latch_t.

Signed-off-by: Ahmed S. Darwish <a.darwish@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200827114044.11173-9-a.darwish@linutronix.de
include/linux/seqlock.h