diff options
Diffstat (limited to 'crypto/internal.h')
-rw-r--r-- | crypto/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/internal.h b/crypto/internal.h index b110b979b988..7dc04efb55c6 100644 --- a/crypto/internal.h +++ b/crypto/internal.h | |||
@@ -67,9 +67,9 @@ static inline void crypto_kunmap(void *vaddr, int out) | |||
67 | kunmap_atomic(vaddr, crypto_kmap_type(out)); | 67 | kunmap_atomic(vaddr, crypto_kmap_type(out)); |
68 | } | 68 | } |
69 | 69 | ||
70 | static inline void crypto_yield(struct crypto_tfm *tfm) | 70 | static inline void crypto_yield(u32 flags) |
71 | { | 71 | { |
72 | if (tfm->crt_flags & CRYPTO_TFM_REQ_MAY_SLEEP) | 72 | if (flags & CRYPTO_TFM_REQ_MAY_SLEEP) |
73 | cond_resched(); | 73 | cond_resched(); |
74 | } | 74 | } |
75 | 75 | ||