diff options
Diffstat (limited to 'drivers/s390/char/sclp.c')
-rw-r--r-- | drivers/s390/char/sclp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/char/sclp.c b/drivers/s390/char/sclp.c index 12c16a65dd25..bd6871bf545a 100644 --- a/drivers/s390/char/sclp.c +++ b/drivers/s390/char/sclp.c | |||
@@ -450,7 +450,7 @@ sclp_sync_wait(void) | |||
450 | timeout = 0; | 450 | timeout = 0; |
451 | if (timer_pending(&sclp_request_timer)) { | 451 | if (timer_pending(&sclp_request_timer)) { |
452 | /* Get timeout TOD value */ | 452 | /* Get timeout TOD value */ |
453 | timeout = get_clock() + | 453 | timeout = get_tod_clock() + |
454 | sclp_tod_from_jiffies(sclp_request_timer.expires - | 454 | sclp_tod_from_jiffies(sclp_request_timer.expires - |
455 | jiffies); | 455 | jiffies); |
456 | } | 456 | } |
@@ -472,7 +472,7 @@ sclp_sync_wait(void) | |||
472 | while (sclp_running_state != sclp_running_state_idle) { | 472 | while (sclp_running_state != sclp_running_state_idle) { |
473 | /* Check for expired request timer */ | 473 | /* Check for expired request timer */ |
474 | if (timer_pending(&sclp_request_timer) && | 474 | if (timer_pending(&sclp_request_timer) && |
475 | get_clock() > timeout && | 475 | get_tod_clock() > timeout && |
476 | del_timer(&sclp_request_timer)) | 476 | del_timer(&sclp_request_timer)) |
477 | sclp_request_timer.function(sclp_request_timer.data); | 477 | sclp_request_timer.function(sclp_request_timer.data); |
478 | cpu_relax(); | 478 | cpu_relax(); |