s390/sclp: pass timeout as HZ independent value
authorNicholas Mc Guire <hofrat@osadl.org>
Fri, 29 May 2015 14:50:55 +0000 (16:50 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 15 Jun 2015 08:50:57 +0000 (10:50 +0200)
commit2e4aa2f2bdcf9b80bace0b0c460bd407d76f49d3
treee15f05bfe523236f04db9e7b0e2f284ac2afceb0
parent4e0a64124f80029d787d2d1fd2b0daf2b431cb70
s390/sclp: pass timeout as HZ independent value

schedule_timeout takes a timeout in jiffies but the code currently is
passing in a constant SDIAS_SLEEP_TICKS, as this is otherwise unused
it is replaced by 500ms as recommended by Michael Holzheu
<holzheu@linux.vnet.ibm.com> and converted with msecs_to_jiffies();
As SDIAS_SLEEP_TICKS was only used in this one location it is dropped.

Patch was compile tested with (s390) defconfig +
CONFIG_MARCH_Z10=y, (implies CONFIG_CRASH_DUMP=y)

Patch is against 4.1-rc5 (localversion-next is -next-20150529)

Link: http://lkml.org/lkml/2015/5/29/235
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/sclp_sdias.c