summaryrefslogtreecommitdiffstats
path: root/cryptodev_cipher.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-02-20 09:14:00 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-02-20 09:14:00 +0100
commit9d402a27a31f6c7a6722b22d57d374738e9234cf (patch)
treebb8dec2369c233564cbe6330316d2119cf8f53ac /cryptodev_cipher.c
parent78905baffa23c95020899d18298bdde2edaf6ea3 (diff)
downloadkernel-crypto-9d402a27a31f6c7a6722b22d57d374738e9234cf.tar.gz
kernel-crypto-9d402a27a31f6c7a6722b22d57d374738e9234cf.tar.xz
kernel-crypto-9d402a27a31f6c7a6722b22d57d374738e9234cf.zip
Use wait_for_completion instead of wait_for_completion_interruptible since
we cannot restart the system call so far.
Diffstat (limited to 'cryptodev_cipher.c')
-rw-r--r--cryptodev_cipher.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cryptodev_cipher.c b/cryptodev_cipher.c
index 622684fdcbe..86b3bdc5ac3 100644
--- a/cryptodev_cipher.c
+++ b/cryptodev_cipher.c
@@ -147,8 +147,7 @@ static inline int waitfor (struct cryptodev_result* cr, ssize_t ret)
break;
case -EINPROGRESS:
case -EBUSY:
- ret = wait_for_completion_interruptible(
- &cr->completion);
+ ret = wait_for_completion(&cr->completion);
/* no error from wait_for_completion */
if (ret) {
dprintk(0,KERN_ERR,"error waiting for async request completion: %zd\n", ret);