timekeeping: Convert jiffies_seq to seqcount_raw_spinlock_t
authorDavidlohr Bueso <dave@stgolabs.net>
Wed, 21 Oct 2020 19:07:49 +0000 (12:07 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 26 Oct 2020 10:04:14 +0000 (11:04 +0100)
commit1a2b85f1e2a93a3f84243e654d225e4088735336
treec2d9e3d2e2cc4886ba50db2f38dd3b27cd173c6e
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec
timekeeping: Convert jiffies_seq to seqcount_raw_spinlock_t

Use the new api and associate the seqcounter to the jiffies_lock enabling
lockdep support - although for this particular case the write-side locking
and non-preemptibility are quite obvious.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201021190749.19363-1-dave@stgolabs.net
kernel/time/jiffies.c
kernel/time/timekeeping.h