diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-11-06 15:02:41 +0100 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-11-08 22:10:29 +0100 |
commit | 399c5acd5837f6c93d784d8dd25ebae5a50362e1 (patch) | |
tree | 63bdf165d0e25612cdfcfb7b3f03cf20b5d0ee64 /drivers/s390/block/dasd_diag.c | |
parent | s390: remove named saved segment support (diff) | |
download | linux-399c5acd5837f6c93d784d8dd25ebae5a50362e1.tar.xz linux-399c5acd5837f6c93d784d8dd25ebae5a50362e1.zip |
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>
Diffstat (limited to 'drivers/s390/block/dasd_diag.c')
0 files changed, 0 insertions, 0 deletions