]> www.infradead.org Git - users/jedix/linux-maple.git/commit
timekeeping: Use proper seqcount initializer
authorBart Van Assche <bvanassche@acm.org>
Wed, 28 Nov 2018 23:43:09 +0000 (15:43 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 18:46:01 +0000 (19:46 +0100)
commit923841f0d9860abcb5fb17c65b63f379f24318d5
tree8f96080c53fef4ebf862b61dc8428e78b7fb467b
parentc5c88a3d924bf726f4ac8097081cf704d0cad39c
timekeeping: Use proper seqcount initializer

[ Upstream commit ce10a5b3954f2514af726beb78ed8d7350c5e41c ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/time/timekeeping.c