summaryrefslogtreecommitdiff
path: root/include/linux/dynamic_debug.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-09-27 23:45:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-29 05:03:36 +0300
commit23d9a0467c6ce436e4f40e44e81005df6bdd9d2d (patch)
tree9b6fc7818784daf27665d2e5779577aac58b319f /include/linux/dynamic_debug.h
parent1f4fc343c008981d3a91351c030e2c29f5cd1b1c (diff)
downloadlinux-23d9a0467c6ce436e4f40e44e81005df6bdd9d2d.tar.xz
staging/lustre: use 64-bit computation in s2dhms()
The s2dhms computes the day/hour/minute/second values from a time_t, which stops working in 2038. This changes the code to take a time64_t argument, and use div_u64_rem() to implement the first division. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/dynamic_debug.h')
0 files changed, 0 insertions, 0 deletions