]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Aug 2025 16:41:06 +0000 (18:41 +0200)
commit6f450c1f2fadfea0ded89ec1da85d4b364635c87
tree6110ba2922cb72181815651a5d2d85915376976c
parentcad8c5b7d137c1f8be6203d70c1ac870fcd3afc6
s390/time: Use monotonic clock in get_cycles()

[ Upstream commit 09e7e29d2b49ba84bcefb3dc1657726d2de5bb24 ]

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