diff options
Diffstat (limited to 'drivers/s390/char/sclp_sdias.c')
-rw-r--r-- | drivers/s390/char/sclp_sdias.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/s390/char/sclp_sdias.c b/drivers/s390/char/sclp_sdias.c index eb7cb076c001..7cdd13dd7be1 100644 --- a/drivers/s390/char/sclp_sdias.c +++ b/drivers/s390/char/sclp_sdias.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #define TRACE(x...) debug_sprintf_event(sdias_dbf, 1, x) | 21 | #define TRACE(x...) debug_sprintf_event(sdias_dbf, 1, x) |
22 | 22 | ||
23 | #define SDIAS_RETRIES 300 | 23 | #define SDIAS_RETRIES 300 |
24 | #define SDIAS_SLEEP_TICKS 50 | ||
25 | 24 | ||
26 | static struct debug_info *sdias_dbf; | 25 | static struct debug_info *sdias_dbf; |
27 | 26 | ||
@@ -68,7 +67,7 @@ static int sdias_sclp_send(struct sclp_req *req) | |||
68 | /* not initiated, wait some time and retry */ | 67 | /* not initiated, wait some time and retry */ |
69 | set_current_state(TASK_INTERRUPTIBLE); | 68 | set_current_state(TASK_INTERRUPTIBLE); |
70 | TRACE("add request failed: rc = %i\n",rc); | 69 | TRACE("add request failed: rc = %i\n",rc); |
71 | schedule_timeout(SDIAS_SLEEP_TICKS); | 70 | schedule_timeout(msecs_to_jiffies(500)); |
72 | continue; | 71 | continue; |
73 | } | 72 | } |
74 | /* initiated, wait for completion of service call */ | 73 | /* initiated, wait for completion of service call */ |