OSDN Git Service

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)
commite1e41b6ce5f9c1a80bf4f2404ec5ab11c6c5a2ad
tree557a74eacdec022714fe1a1992080053037f15e5
parentd7dcf26ff0ffd7b56fe2b09ed7f1867589f3cdf1
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