]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
coredump: Use 64bit time for unix time of coredump
authorTina Ruchandani <ruchandani.tina@gmail.com>
Wed, 28 Jan 2015 05:16:06 +0000 (10:46 +0530)
committerArnd Bergmann <arnd@arndb.de>
Tue, 3 Nov 2015 16:34:46 +0000 (17:34 +0100)
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>

No differences found