summaryrefslogtreecommitdiff
path: root/arch/s390/tools/gen_opcode_table.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-11-27 12:46:57 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-12-05 07:51:08 +0100
commitbd7a9b3757895c3a2fd64b3f12e438d9190c83d9 (patch)
treefabfc9e5d31d92d2ade27caa65fd784f92dbb1d8 /arch/s390/tools/gen_opcode_table.c
parentb23481fbfc567fea256a69b307ced283c56aba99 (diff)
s390/dasd: remove 'struct timespec' usage
getnstimeofday() and timespec are deprecated since they can overflow on 32-bit architectures. This simply changes to the explicitly typed timespec64 version that doesn't have that problem. It would be nice to also convert to monotonic timestamps and call ktime_get_ts64() rather than ktime_get_real_ts64(), but that would be a user-visible change. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/tools/gen_opcode_table.c')
0 files changed, 0 insertions, 0 deletions