Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel/crash_core.c: print timestamp using time64_t
The get_seconds() call returns a 32-bit timestamp on some architectures, and will overflow in the future. The newer ktime_get_real_seconds() always returns a 64-bit timestamp that does not suffer from this problem. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Dave Young <[email protected]> Cc: Baoquan He <[email protected]> Cc: "Kirill A. Shutemov" <[email protected]> Cc: Petr Tesarik <[email protected]> Cc: Marc-Andr Lureau <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information