APEI / ERST: use 64-bit timestamps
authorArnd Bergmann <arnd@arndb.de>
Thu, 2 Nov 2017 11:42:50 +0000 (12:42 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 8 Nov 2017 23:13:39 +0000 (00:13 +0100)
commitc0041d40ba6a352e5a5304d656e8a26e2fba1f63
treedff0dedc8f1605a2790dcab76c10bcd6431f3da3
parent4a75aeacda3c2455954596593d89187df5420d0a
APEI / ERST: use 64-bit timestamps

32-bit timestamps are deprecated in the kernel, so we should not use
get_seconds(). In this case, the 'struct cper_record_header' structure
already contains a 64-bit field, so the only required change is to use
the safe ktime_get_real_seconds() interface as a replacement.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/erst.c