PM / devfreq: Change time stats to 64-bit

[ Upstream commit b76b3479da ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Kamil Konieczny 2019-12-05 15:55:25 +01:00 • committed by Greg Kroah-Hartman
commit dec6ed3d5a
2 changed files with 9 additions and 9 deletions