s390/time: select CLOCKSOURCE_VALIDATE_LAST_CYCLE
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 20 Jul 2020 12:16:03 +0000 (14:16 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 22 Jul 2020 15:02:08 +0000 (17:02 +0200)
commit555701a714f77e01490f633c1080cf97f0ede1f0
tree189bf362aaf4b19b870ba5fb8f7b27ed1200fdfc
parent58e15716feb562cdba57e99d62c525a1faa37c08
s390/time: select CLOCKSOURCE_VALIDATE_LAST_CYCLE

The value returned by read_tod_clock() will overflow on September 17th 2042.
To avoid that system time jumps back select CLOCKSOURCE_VALIDATE_LAST_CYCLE
which enables a sanity check in order to prevent negative "delta" values.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/Kconfig