]> git.ipfire.org Git - thirdparty/linux.git/commit
s390/sclp: Use monotonic clock in sclp_sync_wait()
authorSven Schnelle <svens@linux.ibm.com>
Thu, 10 Jul 2025 07:43:40 +0000 (09:43 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Mon, 21 Jul 2025 10:41:55 +0000 (12:41 +0200)
commit925f0707a67cae0a974c4bd5b718f0263dc56824
treef51f71d702dea06a1513f415f5ca92a6f2559466
parente12570c9855555d2acd3360c57abc591a8ec570d
s390/sclp: Use monotonic clock in sclp_sync_wait()

sclp_sync_wait() should use the monotonic clock for the delay loop.
Otherwise the code won't 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>
drivers/s390/char/sclp.c