timekeeping: Use proper seqcount initializer
authorBart Van Assche <bvanassche@acm.org>
Wed, 28 Nov 2018 23:43:09 +0000 (15:43 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 5 Dec 2018 10:00:09 +0000 (11:00 +0100)
commitce10a5b3954f2514af726beb78ed8d7350c5e41c
tree6d3db5b0a3edfc0eb9cd6994c789ceaa5c011249
parent0141de741e0710d5e2e68087577329606f59ed71
timekeeping: Use proper seqcount initializer

tk_core.seq is initialized open coded, but that misses to initialize the
lockdep map when lockdep is enabled. Lockdep splats involving tk_core seq
consequently lack a name and are hard to read.

Use the proper initializer which takes care of the lockdep map
initialization.

[ tglx: Massaged changelog ]

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: peterz@infradead.org
Cc: tj@kernel.org
Cc: johannes.berg@intel.com
Link: https://lkml.kernel.org/r/20181128234325.110011-12-bvanassche@acm.org
kernel/time/timekeeping.c