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)
commit399c5acd5837f6c93d784d8dd25ebae5a50362e1
tree63bdf165d0e25612cdfcfb7b3f03cf20b5d0ee64
parent978fa72e82e375764e6e31e7a721408c5186918f
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