PM / devfreq: Change time stats to 64-bit
authorKamil Konieczny <k.konieczny@samsung.com>
Thu, 5 Dec 2019 14:55:25 +0000 (15:55 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 30 Dec 2019 00:59:05 +0000 (09:59 +0900)
commitb76b3479dab948bea0a98b6d263eb56d8f358528
tree1776d78541d68b422b967741caace16ba7f20243
parent2fee1a7cc6b1ce6634bb0f025be2c94a58dfa34d
PM / devfreq: Change time stats to 64-bit

Change time stats counting to bigger type by using 64-bit jiffies.
This will make devfreq stats code look similar to cpufreq stats and
prevents overflow (for HZ = 1000 after 49.7 days).

Signed-off-by: Kamil Konieczny <k.konieczny@samsung.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/devfreq.c
include/linux/devfreq.h