summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-11-25 16:22:25 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2015-12-06 21:17:17 -0500
commit03927c8acb63100046260711c06ba28b6b5936fb (patch)
treea9d112dd05a9baeb26500dcb085be2ed313b2d5c /drivers
parent0125f504ed320826a78b43d636de957d703465a8 (diff)
downloadop-kernel-dev-03927c8acb63100046260711c06ba28b6b5936fb.zip
op-kernel-dev-03927c8acb63100046260711c06ba28b6b5936fb.tar.gz
coredump: Use 64bit time for unix time of coredump
struct timeval on 32-bit systems will have its tv_sec value overflow in year 2038 and beyond. Use a 64 bit value to print time of the coredump in seconds. ktime_get_real_seconds is chosen here for efficiency reasons. Suggested by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud