]> asedeno.scripts.mit.edu Git - linux.git/commit
ath10k: use 64-bit crash dump timestamps
authorArnd Bergmann <arnd@arndb.de>
Mon, 27 Nov 2017 11:49:51 +0000 (12:49 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 7 Dec 2017 14:23:16 +0000 (16:23 +0200)
commitdafa420360129781744ef48736a6dbed8f622077
tree45d6f4730d21cc9febf0ec2185feb959e75a4c53
parentd786ebb2f59b46e95c17bc33018fc13347407f69
ath10k: use 64-bit crash dump timestamps

The dump format uses 64-bit timestamps already, but calling
getnstimeofday() only returns a 32-bit number on 32-bit architectures,
so that will overflow in y2038.

This changes it to use ktime_get_real_ts64() instead.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/debug.c