s390/time: Use monotonic clock in get_cycles()
authorSven Schnelle <svens@linux.ibm.com>
Thu, 10 Jul 2025 07:42:29 +0000 (09:42 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Mon, 21 Jul 2025 10:41:55 +0000 (12:41 +0200)
commit09e7e29d2b49ba84bcefb3dc1657726d2de5bb24
tree83558f87f62c2c2909057a6f40e1d58c4e2558a8
parent4eda2606181ca3b5e76d2ed8717d5ca2eab91e18
s390/time: Use monotonic clock in get_cycles()

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>
arch/s390/include/asm/timex.h