s390/time: Use monotonic clock in get_cycles()

[ Upstream commit 09e7e29d2b ]

Otherwise the code might not work correctly when the clock
is changed.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Sven Schnelle 2025-07-10 09:42:29 +02:00 • committed by Greg Kroah-Hartman
commit decbacd6a9