summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/setup.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-06-18 12:05:00 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-06-25 10:14:41 +0200
commit6075e4ae6e729778ac687a9ffb0c0d5223a0a19e (patch)
tree53ea594189b700a02316f1db3904a4a2eab26ab4 /arch/s390/kernel/setup.c
parent89b5202e81df9f0f0f0a11cf8c78bc8bfdc52a21 (diff)
downloadlinux-6075e4ae6e729778ac687a9ffb0c0d5223a0a19e.tar.gz
linux-6075e4ae6e729778ac687a9ffb0c0d5223a0a19e.tar.bz2
linux-6075e4ae6e729778ac687a9ffb0c0d5223a0a19e.zip
s390: hypfs: use ktime_get_seconds() instead of get_seconds()
time_t and get_seconds() are deprecated because they will overflow on 32-bit architectures in the future. This is not a problem on 64-bit s390, but we should use proper interfaces anyway. Besides moving to the time64_t based interface, the CLOCK_MONOTONIC based ktime_get_seconds() is preferred for kernel internal timekeeping because it does not behave in unexpected ways during leap second changes or settimeofday() calls. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/setup.c')
0 files changed, 0 insertions, 0 deletions