From 9d402a27a31f6c7a6722b22d57d374738e9234cf Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 20 Feb 2010 09:14:00 +0100 Subject: Use wait_for_completion instead of wait_for_completion_interruptible since we cannot restart the system call so far. --- cryptodev_cipher.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cryptodev_cipher.c b/cryptodev_cipher.c index 622684f..86b3bdc 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); -- cgit