]> git.baikalelectronics.ru Git - kernel.git/commit
s390/dasd: avoid calling do_gettimeofday()
authorArnd Bergmann <arnd@arndb.de>
Mon, 6 Nov 2017 14:02:41 +0000 (15:02 +0100)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 8 Nov 2017 21:10:29 +0000 (22:10 +0100)
commit64fbf770cf77f815e472f587007851be178e6dcb
tree63bdf165d0e25612cdfcfb7b3f03cf20b5d0ee64
parent80569bb08eb04dedab2f0dceb037aaa5e3dad7e0
s390/dasd: avoid calling do_gettimeofday()

do_gettimeofday() is deprecated because it's not y2038-safe on
32-bit architectures. Since it is basically a wrapper around
ktime_get_real_ts64(), we can just call that function directly
instead.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[sth@linux.vnet.ibm.com: fix build]
Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
drivers/s390/block/dasd_eer.c