]> git.baikalelectronics.ru Git - kernel.git/commit
timekeeping: Consistently use unsigned int for seqcount snapshot
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Mon, 18 Mar 2019 19:55:56 +0000 (20:55 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 23 Mar 2019 10:43:56 +0000 (11:43 +0100)
commitbb64a21ccbb40a94f37ce0ee7f0fa994ada83cb1
tree557a74eacdec022714fe1a1992080053037f15e5
parenteb30d07070f7e0d482b8849a8317374549f614a6
timekeeping: Consistently use unsigned int for seqcount snapshot

The timekeeping code uses a random mix of "unsigned long" and "unsigned
int" for the seqcount snapshots (ratio 14:12). Since the seqlock.h API is
entirely based on unsigned int, use that throughout.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20190318195557.20773-1-linux@rasmusvillemoes.dk
kernel/time/jiffies.c
kernel/time/sched_clock.c
kernel/time/tick-common.c
kernel/time/tick-sched.c
kernel/time/timekeeping.c