commit | e4e1899aaec0370aea6b98597ee6289d60544ae2 | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Mon Aug 17 07:59:47 2015 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Wed Aug 19 10:40:26 2015 +0200 |
tree | a25d5c833d1f0d00a5ab87e2c50c205ee11e765e | |
parent | e619cd3d618672bea8602d682ea63b42a1faf1bc [diff] |
s390/zcrypt: use msleep() instead of mdelay() There is no need to busy loop and monopolize a cpu for up to ~2 seconds. The code in question that calls mdelay() is preemptible anyway, so better let the kernel schedule different processes than just looping and causing unnecessary delays. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>